Skip to content
Snippets Groups Projects
Commit 9d8913cf authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

Reset the diagnostic client on recovery too.

parent 452366f3
No related branches found
No related tags found
No related merge requests found
......@@ -791,6 +791,7 @@ namespace cling {
#endif
m_Sema->getDiagnostics().Reset();
m_Sema->getDiagnostics().getClient()->clear();
// Cleanup the module from unused global values.
//llvm::ModulePass* globalDCE = llvm::createGlobalDCEPass();
......
// RUN: cat %s | %cling | FileCheck %s
// RUN: cat %s | %cling -Xclang -verify | FileCheck %s
// XFAIL:*
// Test whether the interpreter is able to generate properly the symbols
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment