An entity that represents a declaration entry in the database.
This class exists to work around the fact that DeclStmt
s in some cases
do not have DeclarationEntry
s in older databases.
So instead, the IR works with IRDeclarationEntry
s that synthesize missing
DeclarationEntry
s when there is no result for DeclStmt::getDeclarationEntry
.
Import path
import semmle.code.cpp.ir.implementation.raw.internal.TranslatedElement
Direct supertypes
Known direct subtypes
Predicates
getAst | Gets the AST represented by this |
getDeclaration | Gets the |
getStmt | Gets the |
hasIndex | Holds if this |
toString | Gets a string representation of this |