summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-15 04:44:25 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-15 04:44:25 +0000
commit884337f42739fc984937c1afd11408f4310bec14 (patch)
tree5dbf9996779f12ed5772a55b7412b3c6e555c3ee /clang/include/clang-c
parentaba8b36abf58b090b4590900f69001edce4bd998 (diff)
downloadbcm5719-llvm-884337f42739fc984937c1afd11408f4310bec14.tar.gz
bcm5719-llvm-884337f42739fc984937c1afd11408f4310bec14.zip
[libclang] Introduce clang_Module_isSystem(), which returns non-zero if the given CXModule is a system one.
llvm-svn: 208846
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index f8cbb9be6c6..3d4a229d282 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -3625,6 +3625,13 @@ CINDEX_LINKAGE CXString clang_Module_getFullName(CXModule Module);
/**
* \param Module a module object.
*
+ * \returns non-zero if the module is a system one.
+ */
+CINDEX_LINKAGE int clang_Module_isSystem(CXModule Module);
+
+/**
+ * \param Module a module object.
+ *
* \returns the number of top level headers associated with this module.
*/
CINDEX_LINKAGE unsigned clang_Module_getNumTopLevelHeaders(CXTranslationUnit,
OpenPOWER on IntegriCloud