Use the setter.
This commit is contained in:
parent
16c99f41f6
commit
97f45536c3
@ -216,7 +216,7 @@ namespace cling {
|
||||
|
||||
// Initialize the opt level to what CodeGenOpts says.
|
||||
if (m_OptLevel == -1)
|
||||
m_OptLevel = getCI()->getCodeGenOpts().OptimizationLevel;
|
||||
setDefaultOptLevel(getCI()->getCodeGenOpts().OptimizationLevel);
|
||||
|
||||
Sema& SemaRef = getSema();
|
||||
Preprocessor& PP = SemaRef.getPreprocessor();
|
||||
|
Loading…
Reference in New Issue
Block a user