diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-09-01 03:07:18 +0000 | 
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-09-01 03:07:18 +0000 | 
| commit | 01a430134fb5ba09a5562b2a694838e3d02aee4c (patch) | |
| tree | 823a8b67cd7d0937092a4a0b78835a268987d048 /clang/tools/libclang/CXCursor.cpp | |
| parent | 110ed64fbbcbf27bfce6dac31c06585438c4a3d1 (diff) | |
| download | bcm5719-llvm-01a430134fb5ba09a5562b2a694838e3d02aee4c.tar.gz bcm5719-llvm-01a430134fb5ba09a5562b2a694838e3d02aee4c.zip | |
Implement libclang support for using directives (cursor + visitation +
suppressing USRs). Also, fix up the source location information for
using directives so that the declaration location refers to the
namespace name.
llvm-svn: 112693
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
| -rw-r--r-- | clang/tools/libclang/CXCursor.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp index 3edbc4d1ef9..75806ffa8d7 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -69,6 +69,7 @@ static CXCursorKind GetCursorKind(Decl *D) {      case Decl::ClassTemplate:      return CXCursor_ClassTemplate;      case Decl::ClassTemplatePartialSpecialization:        return CXCursor_ClassTemplatePartialSpecialization; +    case Decl::UsingDirective:     return CXCursor_UsingDirective;      default:        if (TagDecl *TD = dyn_cast<TagDecl>(D)) { | 

