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
This commit is contained in:
@@ -257,8 +257,7 @@ void CompilerInstance::createPreprocessor() {
|
||||
}
|
||||
|
||||
if (PPOpts.DetailedRecord)
|
||||
PP->createPreprocessingRecord(
|
||||
PPOpts.DetailedRecordIncludesNestedMacroExpansions);
|
||||
PP->createPreprocessingRecord();
|
||||
|
||||
InitializePreprocessor(*PP, PPOpts, getHeaderSearchOpts(), getFrontendOpts());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user