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 | fc7e2a8fbb08f0f496ac6cea0721fe72db8ce240 (patch) | |
tree | 98504c68442080e6cc4571b4bd0d88e207290008 /include/clang/Index/Program.h | |
parent | 07796e1c522921e2b396df36bf9c1f702ffb2fb5 (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Index/Program.h')
0 files changed, 0 insertions, 0 deletions