diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-01 19:52:22 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-01 19:52:22 +0000 |
commit | 7e24256c95afb64b4d5abf201a0f9f0527cb4cf3 (patch) | |
tree | 1756abde87154fc918dbe4d6839c0ffdbf206a62 /lib/Frontend/CompilerInvocation.cpp | |
parent | 98c9d1fa3776204a94c013f1dc25f62d75c00573 (diff) |
Implement libclang support for using declarations. Clang actually uses
three different kinds of AST nodes to represent using declarations:
UsingDecl, UnresolvedUsingValueDecl, and
UnresolvedUsingTypenameDecl. These three are collapsed into a single
cursor kind for using declarations, since libclang clients don't need
the distinction.
Several related changes here:
- Cursor visitation of the three AST nodes for using declarations
- Proper source-range computation for these AST nodes
- Using declarations have no USRs, since they don't actually declare
any entities.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions