Do not try to remove VD from the DeclContext lookup.
This commit is contained in:
parent
4511d419a2
commit
781c0336e3
@ -267,6 +267,7 @@ namespace cling {
|
||||
|
||||
// We know the transaction is closed, but it is safe.
|
||||
getTransaction()->forceAppend(VD); // Add it to the transaction for codegenning
|
||||
VD->setHidden(true);
|
||||
TUDC->addHiddenDecl(VD);
|
||||
Stmts.clear();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user