[cfe-users] Getting underlying type for `using typename` declaration
Victor “LOST” Milovanov via cfe-users
cfe-users at lists.llvm.org
Wed Jul 17 23:20:49 PDT 2019
Hi CFE users!
I am trying to get a `QualType` instance from `UnresolvedUsingTypenameDecl`. Unlike `TypeAliasDecl` `UnresolvedUsingTypenameDecl` does not have a `getUnderlyingType` method.
I could not find a way to construct one from the `DeclarationNameInfo` (`getNameInfo`) and `NestedNameSpecifier` (`getQualifier`).
The library I am working on already supports type aliases, and I was hoping I could treat `using typename` declarations in a similar way. Not sure if it is the right way though.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users