Survive failure in dyn expr building (ROOT-6824).
This commit is contained in:
parent
9b30bafdbc
commit
bb95ca8a8f
@ -688,6 +688,9 @@ namespace cling {
|
||||
m_NoELoc,
|
||||
ILE).get();
|
||||
assert (ExprAddresses && "Could not build the void* array");
|
||||
if (!ExprAddresses)
|
||||
return SubTree;
|
||||
|
||||
m_Sema->ImpCastExprToType(ExprAddresses,
|
||||
m_Context->getPointerType(m_Context->VoidPtrTy),
|
||||
CK_ArrayToPointerDecay);
|
||||
|
Loading…
x
Reference in New Issue
Block a user