|
|
|
@ -205,7 +205,11 @@ void Parser::SetupHeader() |
|
|
|
// Enable preprocessing record.
|
|
|
|
// Enable preprocessing record.
|
|
|
|
PPOpts.DetailedRecord = true; |
|
|
|
PPOpts.DetailedRecord = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef _MSC_VER |
|
|
|
C->createPreprocessor(); |
|
|
|
C->createPreprocessor(); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
C->createPreprocessor(TU_Complete); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
Preprocessor& PP = C->getPreprocessor(); |
|
|
|
Preprocessor& PP = C->getPreprocessor(); |
|
|
|
PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(), |
|
|
|
PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(), |
|
|
|
|