Remove unnecessary parsing preparation
This commit is contained in:
parent
8c8e99618f
commit
8592056883
@ -944,8 +944,6 @@ namespace cling {
|
||||
|
||||
llvm::SmallVector<Expr*, 4> GivenArgs;
|
||||
|
||||
ParserStateRAII ResetParserState(P);
|
||||
|
||||
Interpreter::PushTransactionRAII pushedT(Interp);
|
||||
return findFunction(foundDC, SS,
|
||||
funcName, GivenArgs, objectIsConst,
|
||||
@ -1189,9 +1187,6 @@ namespace cling {
|
||||
}
|
||||
}
|
||||
|
||||
ParserStateRAII ResetParserState(P);
|
||||
prepareForParsing("", llvm::StringRef("func.prototype.file"), diagOnOff);
|
||||
|
||||
Interpreter::PushTransactionRAII pushedT(m_Interpreter);
|
||||
return findFunction(foundDC, SS,
|
||||
funcName, GivenArgs, objectIsConst,
|
||||
@ -1336,9 +1331,6 @@ namespace cling {
|
||||
}
|
||||
}
|
||||
|
||||
ParserStateRAII ResetParserState(P);
|
||||
prepareForParsing("", llvm::StringRef("func.prototype.file"), diagOnOff);
|
||||
|
||||
Interpreter::PushTransactionRAII pushedT(m_Interpreter);
|
||||
return findFunction(foundDC, SS,
|
||||
funcName, GivenArgs, objectIsConst,
|
||||
|
Loading…
x
Reference in New Issue
Block a user