Reset the diagnostic client on recovery too.
This commit is contained in:
parent
e443f83a0b
commit
318427ba99
@ -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();
|
||||
|
@ -1,4 +1,4 @@
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user