mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
d7fe6cd334
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