summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclReferenceMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move ASTLocation and DeclReferenceMap from the AST library to the Index library.Argyrios Kyrtzidis2009-07-061-131/+0
| | | | llvm-svn: 74859
* Rename 'ASTNode' -> 'ASTLocation'.Argyrios Kyrtzidis2009-07-061-8/+8
| | | | | | ASTLocation is a much better name for its intended purpose which to represent a "point" into the AST. llvm-svn: 74858
* Introduce the DeclReferenceMap class inside the AST library.Argyrios Kyrtzidis2009-07-051-0/+131
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
OpenPOWER on IntegriCloud