From f5a1854655ef102b920d800b6c2f12d01bb6f872 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 27 Oct 2010 17:24:53 +0000 Subject: Introduce libclang-level options for C++ precompiled preambles, separating out chaining precompiled preambles from non-chaining ones. llvm-svn: 117457 --- clang/include/clang-c/Index.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'clang/include/clang-c') 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 }; /** -- cgit v1.2.3