ParseTypeName might trigger deserialization.
This commit is contained in:
parent
4c7a2f1ba7
commit
c2562c72b1
@ -1674,6 +1674,8 @@ namespace cling {
|
||||
llvm::StringRef("func.prototype.file"),
|
||||
diagOnOff);
|
||||
|
||||
// ParseTypeName might trigger deserialization.
|
||||
Interpreter::PushTransactionRAII TforDeser(Interp);
|
||||
unsigned int nargs = 0;
|
||||
while (P.getCurToken().isNot(tok::eof)) {
|
||||
TypeResult Res(P.ParseTypeName());
|
||||
|
Loading…
Reference in New Issue
Block a user