summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-27 21:38:03 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-27 21:38:03 +0000
commit6c9ed7d80444ce8a9a75c09ae0f696d6c9c666d3 (patch)
tree1a99f8c4e07e668d216eadb715c0a3f5b8824d19 /clang/include/clang-c
parent79f9bc04abcd004fe00375731974794439ef3188 (diff)
downloadbcm5719-llvm-6c9ed7d80444ce8a9a75c09ae0f696d6c9c666d3.tar.gz
bcm5719-llvm-6c9ed7d80444ce8a9a75c09ae0f696d6c9c666d3.zip
[libclang] Introduce indexing option CXIndexOpt_SuppressWarnings, which
disables all compiler warnings. rdar://11059556 llvm-svn: 153539
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index d05510e2814..904585f1082 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -4494,7 +4494,12 @@ typedef enum {
* \brief Implicit function/class template instantiations should be indexed.
* If this is not set, implicit instantiations will be ignored.
*/
- CXIndexOpt_IndexImplicitTemplateInstantiations = 0x4
+ CXIndexOpt_IndexImplicitTemplateInstantiations = 0x4,
+
+ /**
+ * \brief Suppress all compiler warnings when parsing for indexing.
+ */
+ CXIndexOpt_SuppressWarnings = 0x8
} CXIndexOptFlags;
/**
OpenPOWER on IntegriCloud