aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-05 22:22:06 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-05 22:22:06 +0000
commite568a9792f1179090196e9342466a636dd715609 (patch)
tree0946a5ee35af4187612ec7f7eefab7a89f88f79a /llvm/lib/Transforms/Utils/CloneModule.cpp
parent02dd4f9389836a2f554c6c92bc62b0122808bd6f (diff)
downloadllvm-e568a9792f1179090196e9342466a636dd715609.zip
llvm-e568a9792f1179090196e9342466a636dd715609.tar.gz
llvm-e568a9792f1179090196e9342466a636dd715609.tar.bz2
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 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions