We need to analyze the whole transaction. (Thanks Axel!)
git-svn-id: http://root.cern.ch/svn/root/trunk@46589 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
1c2df25cdd
commit
aaab1dca48
@ -34,7 +34,7 @@ namespace cling {
|
||||
I != E; ++I)
|
||||
if (FunctionDecl* FD = dyn_cast<FunctionDecl>(*I)) {
|
||||
if (FD->getNameAsString().find("__cling_Un1Qu3"))
|
||||
return;
|
||||
continue;
|
||||
|
||||
int foundAtPos = -1;
|
||||
if (Expr* lastExpr = utils::Analyze::GetLastExpr(FD, &foundAtPos)) {
|
||||
|
@ -56,7 +56,7 @@ namespace cling {
|
||||
for (DeclGroupRef::iterator I = DGR.begin(), E = DGR.end(); I != E; ++I)
|
||||
if (FunctionDecl* FD = dyn_cast<FunctionDecl>(*I)) {
|
||||
if (FD->getNameAsString().find("__cling_Un1Qu3"))
|
||||
return true;
|
||||
continue;
|
||||
const CompilationOptions& CO(getTransaction()->getCompilationOpts());
|
||||
if (CO.ValuePrinting == CompilationOptions::VPDisabled)
|
||||
return true; // Nothing to do.
|
||||
|
Loading…
Reference in New Issue
Block a user