Some transactions don't have a wrapper.
This commit is contained in:
parent
52c25a3f40
commit
6604b6b763
@ -35,7 +35,7 @@ const cling::Transaction* T = gCling->getFirstTransaction();
|
||||
while(T) {
|
||||
if (!T->size())
|
||||
printf("Empty transaction detected!\n");
|
||||
if (T->getWrapperFD()->getKind() != clang::Decl::Function)
|
||||
else if (T->getWrapperFD() && T->getWrapperFD()->getKind() != clang::Decl::Function)
|
||||
printf("Unexpected wrapper kind!\n");
|
||||
if (T->getState() != Transaction::kCommitted)
|
||||
printf("Unexpected transaction state!\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user