Skip to content

Commit 9e4125f

Browse files
committed
TraverseDecl might deserialize
1 parent 5b46e86 commit 9e4125f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/dictgen/src/Scanner.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,8 @@ void RScanner::Scan(const clang::ASTContext &C)
10541054
std::cout<<"File name detected"<<std::endl;
10551055
}
10561056

1057+
cling::Interpreter::PushTransactionRAII RAII(gInterp);
1058+
10571059
if (fScanType == EScanType::kTwoPasses)
10581060
TraverseDecl(C.getTranslationUnitDecl());
10591061

0 commit comments

Comments
 (0)