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 | 6a01012e6bffa246810dc5c655a9a30082331fb2 (patch) | |
tree | da892553f21bb2863110b6016b0d04b54c3ff9dc /lib/Sema/SemaCodeComplete.cpp | |
parent | 76dd249b0f8ee1a1b89eee00b5a7514f69c0346a (diff) |
[libclang] Introduce CXCursor_ModuleImportDecl cursor kind, used for a module
import declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | lib/Sema/SemaCodeComplete.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp index 1fc5d8f2ce..74a4958d93 100644 --- a/lib/Sema/SemaCodeComplete.cpp +++ b/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)) { |