Skip to content
  • Argyrios Kyrtzidis's avatar
    Introduce the DeclReferenceMap class inside the AST library. · e568a979
    Argyrios Kyrtzidis authored
    DeclReferenceMap (similar to ParentMap) is a helper class for mapping Decls to the AST nodes that reference them.
    A client will initialize it by passing an ASTContext to its constructor and later use it to iterate over
    the references of a Decl.
    References are mapped and retrieved using the primary declaration (Decl::getPrimaryDecl()) of a particular Decl.
    
    llvm-svn: 74801
    e568a979
Loading