Optionally store a PreprocessingRecord in the preprocessor itself, and
tie its creation to a CC1 flag -detailed-preprocessing-record. llvm-svn: 98963
This commit is contained in:
@@ -224,6 +224,9 @@ CompilerInstance::createPreprocessor(Diagnostic &Diags,
|
||||
PP->setPTHManager(PTHMgr);
|
||||
}
|
||||
|
||||
if (PPOpts.DetailedRecord)
|
||||
PP->createPreprocessingRecord();
|
||||
|
||||
InitializePreprocessor(*PP, PPOpts, HSOpts, FEOpts);
|
||||
|
||||
// Handle generating dependencies, if requested.
|
||||
|
||||
Reference in New Issue
Block a user