diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:21:56 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:21:56 +0000 |
| commit | 02dd4f9389836a2f554c6c92bc62b0122808bd6f (patch) | |
| tree | 27050135c2618b76c2e68011892c95ce594eebc9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | cdfe1f210ba7e0dd51f08abc25865b4b376bf3c9 (diff) | |
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/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
