diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:22:06 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:22:06 +0000 |
commit | e568a9792f1179090196e9342466a636dd715609 (patch) | |
tree | 0946a5ee35af4187612ec7f7eefab7a89f88f79a /clang/lib/AST/CMakeLists.txt | |
parent | 02dd4f9389836a2f554c6c92bc62b0122808bd6f (diff) | |
download | bcm5719-llvm-e568a9792f1179090196e9342466a636dd715609.tar.gz bcm5719-llvm-e568a9792f1179090196e9342466a636dd715609.zip |
Introduce the DeclReferenceMap class inside the AST library.
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
Diffstat (limited to 'clang/lib/AST/CMakeLists.txt')
-rw-r--r-- | clang/lib/AST/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/CMakeLists.txt b/clang/lib/AST/CMakeLists.txt index 8fb86c6fc20..899bc8f78eb 100644 --- a/clang/lib/AST/CMakeLists.txt +++ b/clang/lib/AST/CMakeLists.txt @@ -13,6 +13,7 @@ add_clang_library(clangAST DeclGroup.cpp DeclObjC.cpp DeclPrinter.cpp + DeclReferenceMap.cpp DeclTemplate.cpp ExprConstant.cpp Expr.cpp |