CodeQL library for C/C++
Search

Member predicate TypeDeclarationEntry::getDeclaration

Gets the declaration for which this is a declaration entry.

Note that this is not always the inverse of Declaration.getADeclarationEntry(), for example if C is a TemplateClass, I is an instantiation of C, and D is a Declaration of C, then: C.getADeclarationEntry() returns D I.getADeclarationEntry() returns D but D.getDeclaration() only returns C

UserType getDeclaration()