sandboxed-api/sandboxed_api/tools/clang_generator
Christian Blichmann d7fe6cd334 clang_generator: Use fully qualified names
Use locally unqualified types to filter ordered type declarations in
`TypeCollector::GetTypeDeclarations()`. This is necessary, as
`clang::TypeName::getFullyQualifiedName()` and
`TypeDecl::getQualifiedNameAsString()` have different ideas which
qualifiers belong to the name. The former works on `QualType`s, while
the latter deals with the declaration directly. This change decays a
`TypeDecl` into its locally unqualified `QualType`.

PiperOrigin-RevId: 490500091
Change-Id: Ie2f4eece4e673f8b06ab6661d7b6611daf34fba9
2022-11-23 07:54:48 -08:00
..
BUILD.bazel clang_generator: Use fully-qualified names, emit in source order 2022-11-07 00:37:53 -08:00
CMakeLists.txt clang_generator: Use fully-qualified names, emit in source order 2022-11-07 00:37:53 -08:00
compilation_database.cc clang_generator: Enable mixed header processing 2022-03-17 03:41:53 -07:00
compilation_database.h clang_generator: Enable mixed header processing 2022-03-17 03:41:53 -07:00
diagnostics.cc clang_generator: Turn fatal error on struc-by-value into warning 2022-11-03 06:02:32 -07:00
diagnostics.h clang_generator: Turn fatal error on struc-by-value into warning 2022-11-03 06:02:32 -07:00
emitter_test.cc clang_generator: Use fully qualified names 2022-11-23 07:54:48 -08:00
emitter.cc clang_generator: Use fully qualified names 2022-11-23 07:54:48 -08:00
emitter.h clang_generator: Handle inter-type dependencies better 2022-11-14 08:19:13 -08:00
frontend_action_test_util.cc clang_generator: Do not collect structs/unions if declared in another record 2022-03-17 03:30:12 -07:00
frontend_action_test_util.h clang_generator: Refactor frontend test utilities 2022-11-01 09:00:34 -07:00
generator_tool.cc #Cleanup: Consistently use std::make_unique 2022-10-12 05:23:42 -07:00
generator.cc clang_generator: Access type collector/function via accessors 2022-11-23 05:21:25 -08:00
generator.h clang_generator: Access type collector/function via accessors 2022-11-23 05:21:25 -08:00
types.cc clang_generator: Use fully qualified names 2022-11-23 07:54:48 -08:00
types.h clang_generator: Handle inter-type dependencies better 2022-11-14 08:19:13 -08:00