]> granicus.if.org Git - clang/commit
Don't record nested macro expansions in the preprocessing record,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2012 02:41:16 +0000 (02:41 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2012 02:41:16 +0000 (02:41 +0000)
commite1d4330adaaa7faf093e725c9c993207eb2d778a
tree94dfbe95ee356d43c34439d5e751cbcd9b2afe07
parente571578002fc3d4ebb654d2f31d2446d7cc1831d
Don't record nested macro expansions in the preprocessing record,
it can only bring pain when dealing with preprocessor abuse (see: boost).

rdar://10898986

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151427 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang-c/Index.h
include/clang/Frontend/ASTUnit.h
include/clang/Frontend/PreprocessorOptions.h
include/clang/Lex/PreprocessingRecord.h
include/clang/Lex/Preprocessor.h
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Lex/PreprocessingRecord.cpp
lib/Lex/Preprocessor.cpp
lib/Serialization/ASTReader.cpp
test/Index/nested-macro-instantiations.cpp [deleted file]
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
tools/libclang/Indexing.cpp