diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-25 02:41:16 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-25 02:41:16 +0000 |
| commit | 335c5a42e9cfa70436bce30a6867cb722cac339c (patch) | |
| tree | 2997d3c3e38d4ef6959250e95ceeff79713fb470 /clang/include/clang-c/Index.h | |
| parent | ef31f376bb7f16f010db30359740a810c2681819 (diff) | |
| download | bcm5719-llvm-335c5a42e9cfa70436bce30a6867cb722cac339c.tar.gz bcm5719-llvm-335c5a42e9cfa70436bce30a6867cb722cac339c.zip | |
Don't record nested macro expansions in the preprocessing record,
it can only bring pain when dealing with preprocessor abuse (see: boost).
rdar://10898986
llvm-svn: 151427
Diffstat (limited to 'clang/include/clang-c/Index.h')
| -rw-r--r-- | clang/include/clang-c/Index.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 018a316c894..67a26d9f4e7 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -993,28 +993,7 @@ enum CXTranslationUnit_Flags { * Note: this is a *temporary* option that is available only while * we are testing C++ precompiled preamble support. It is deprecated. */ - CXTranslationUnit_CXXChainedPCH = 0x20, - - /** - * \brief Used to indicate that the "detailed" preprocessing record, - * if requested, should also contain nested macro expansions. - * - * Nested macro expansions (i.e., macro expansions that occur - * inside another macro expansion) can, in some code bases, require - * a large amount of storage to due preprocessor metaprogramming. Moreover, - * its fairly rare that this information is useful for libclang clients. - */ - CXTranslationUnit_NestedMacroExpansions = 0x40, - - /** - * \brief Legacy name to indicate that the "detailed" preprocessing record, - * if requested, should contain nested macro expansions. - * - * \see CXTranslationUnit_NestedMacroExpansions for the current name for this - * value, and its semantics. This is just an alias. - */ - CXTranslationUnit_NestedMacroInstantiations = - CXTranslationUnit_NestedMacroExpansions + CXTranslationUnit_CXXChainedPCH = 0x20 }; /** |

