No need to be more const correct than getCI()->getSema()!
This commit is contained in:
parent
52bbebb238
commit
3b078ed887
@ -546,8 +546,7 @@ namespace cling {
|
||||
void enableRawInput(bool raw = true) { m_RawInputEnabled = raw; }
|
||||
|
||||
clang::CompilerInstance* getCI() const;
|
||||
const clang::Sema& getSema() const;
|
||||
clang::Sema& getSema();
|
||||
clang::Sema& getSema() const;
|
||||
llvm::ExecutionEngine* getExecutionEngine() const;
|
||||
|
||||
//FIXME: This must be in InterpreterCallbacks.
|
||||
|
@ -471,11 +471,7 @@ namespace cling {
|
||||
return m_IncrParser->getCI();
|
||||
}
|
||||
|
||||
const Sema& Interpreter::getSema() const {
|
||||
return getCI()->getSema();
|
||||
}
|
||||
|
||||
Sema& Interpreter::getSema() {
|
||||
Sema& Interpreter::getSema() const {
|
||||
return getCI()->getSema();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user