diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-05 00:22:24 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-05 00:22:24 +0000 |
commit | 50e5b1dab3c9ca8d3d776cd70adb19ac739d5af7 (patch) | |
tree | e8b865dc036cf703972d05f7522e8e89ce52e46a /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 3fd3330a62b7b01f689ef8552443f649b061084e (diff) | |
download | bcm5719-llvm-50e5b1dab3c9ca8d3d776cd70adb19ac739d5af7.tar.gz bcm5719-llvm-50e5b1dab3c9ca8d3d776cd70adb19ac739d5af7.zip |
[libclang] Introduce CXCursor_ModuleImportDecl cursor kind, used for a module
import declaration.
llvm-svn: 165277
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index 1fc5d8f2cea..74a4958d932 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -2882,6 +2882,9 @@ CXCursorKind clang::getCursorKindForDecl(Decl *D) { case ObjCPropertyImplDecl::Synthesize: return CXCursor_ObjCSynthesizeDecl; } + + case Decl::Import: + return CXCursor_ModuleImportDecl; default: if (TagDecl *TD = dyn_cast<TagDecl>(D)) { |