summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
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/include/clang-c
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/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index fba2ba83370..c2b1f25f831 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2010,7 +2010,15 @@ enum CXCursorKind {
CXCursor_MacroInstantiation = CXCursor_MacroExpansion,
CXCursor_InclusionDirective = 503,
CXCursor_FirstPreprocessing = CXCursor_PreprocessingDirective,
- CXCursor_LastPreprocessing = CXCursor_InclusionDirective
+ CXCursor_LastPreprocessing = CXCursor_InclusionDirective,
+
+ /* Extra Declarations */
+ /**
+ * \brief A module import declaration.
+ */
+ CXCursor_ModuleImportDecl = 600,
+ CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
+ CXCursor_LastExtraDecl = CXCursor_ModuleImportDecl
};
/**
OpenPOWER on IntegriCloud