mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
67bc67bbef
This change changes the emitter to work on `clang::TypeDecl`s instead of `clang::QualType`s, as the latter only describe complete definitions. This allows us to better deal with situations where we would otherwise have a kind of circular type dependencies: For example, a `typedef` that depends on a `struct` which in turn has a member that references the typedef. For this to work, we now also record the actual source order of declarations, similar to what the libclang based header generator does. Also add some more tests for the newly covered cases. PiperOrigin-RevId: 488370914 Change-Id: I2d1baa863fb12d1801bf11a20f3f88df7fde3129 |
||
---|---|---|
.. | ||
clang_generator | ||
filewrapper | ||
generator2 |