aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-05 22:21:56 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-05 22:21:56 +0000
commit02dd4f9389836a2f554c6c92bc62b0122808bd6f (patch)
tree27050135c2618b76c2e68011892c95ce594eebc9 /llvm/lib/Transforms/Utils/CloneModule.cpp
parentcdfe1f210ba7e0dd51f08abc25865b4b376bf3c9 (diff)
downloadllvm-02dd4f9389836a2f554c6c92bc62b0122808bd6f.zip
llvm-02dd4f9389836a2f554c6c92bc62b0122808bd6f.tar.gz
llvm-02dd4f9389836a2f554c6c92bc62b0122808bd6f.tar.bz2
Introduce the virtual method Decl::getPrimaryDecl().
When a Decl subclass can have multiple re-declarations in the same declaration context (like FunctionDecl), getPrimaryDecl() will return a particular Decl that all of them will point to as the "primary" declaration. llvm-svn: 74800
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions