summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-05 00:22:24 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-05 00:22:24 +0000
commit50e5b1dab3c9ca8d3d776cd70adb19ac739d5af7 (patch)
treee8b865dc036cf703972d05f7522e8e89ce52e46a /clang/lib/Sema/SemaCodeComplete.cpp
parent3fd3330a62b7b01f689ef8552443f649b061084e (diff)
downloadbcm5719-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.cpp3
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)) {
OpenPOWER on IntegriCloud