Relocate PPOpts variable initialization and remove comment.
This commit is contained in:
parent
2aba8b8cc8
commit
33c05d3105
@ -807,18 +807,12 @@ namespace {
|
||||
CI->setInvocation(Invocation);
|
||||
CI->setDiagnostics(Diags.get());
|
||||
|
||||
PreprocessorOptions& PPOpts = CI->getInvocation().getPreprocessorOpts();
|
||||
|
||||
//
|
||||
// Buffer the error messages while we process
|
||||
// the compiler options.
|
||||
//
|
||||
|
||||
if (PCHFileName.empty()) {
|
||||
// Set the language options, which cling needs
|
||||
SetClingCustomLangOpts(CI->getLangOpts());
|
||||
}
|
||||
|
||||
PreprocessorOptions& PPOpts = CI->getInvocation().getPreprocessorOpts();
|
||||
SetPreprocessorFromBinary(PPOpts);
|
||||
|
||||
PPOpts.addMacroDef("__CLING__");
|
||||
|
Loading…
x
Reference in New Issue
Block a user