summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-27 17:24:53 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-27 17:24:53 +0000
commitf5a1854655ef102b920d800b6c2f12d01bb6f872 (patch)
treeff5cd5642e6e046c1a380422da595547fb8025a1 /clang/include/clang-c
parent9d798a07e441c9d586eca7dc600045a3812fc4a6 (diff)
downloadbcm5719-llvm-f5a1854655ef102b920d800b6c2f12d01bb6f872.tar.gz
bcm5719-llvm-f5a1854655ef102b920d800b6c2f12d01bb6f872.zip
Introduce libclang-level options for C++ precompiled preambles,
separating out chaining precompiled preambles from non-chaining ones. llvm-svn: 117457
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 7f569d28834..bb76c564cc9 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -713,7 +713,22 @@ enum CXTranslationUnit_Flags {
* introduces some overhead to reparsing but improves the performance of
* code-completion operations.
*/
- CXTranslationUnit_CacheCompletionResults = 0x08
+ CXTranslationUnit_CacheCompletionResults = 0x08,
+ /**
+ * \brief Enable precompiled preambles in C++.
+ *
+ * Note: this is a *temporary* option that is available only while
+ * we are testing C++ precompiled preamble support.
+ */
+ CXTranslationUnit_CXXPrecompiledPreamble = 0x10,
+
+ /**
+ * \brief Enabled chained precompiled preambles in C++.
+ *
+ * Note: this is a *temporary* option that is available only while
+ * we are testing C++ precompiled preamble support.
+ */
+ CXTranslationUnit_CXXChainedPCH = 0x20
};
/**
OpenPOWER on IntegriCloud