Assert only when in debug mode *and* llvmdev mode
This commit is contained in:
parent
cde2785b96
commit
2c46e27434
@ -519,7 +519,7 @@ namespace cling {
|
|||||||
// Get rid of the declaration. If the declaration has name we should
|
// Get rid of the declaration. If the declaration has name we should
|
||||||
// heal the lookup tables as well
|
// heal the lookup tables as well
|
||||||
Successful = DeclRev.RevertDecl(*Di) && Successful;
|
Successful = DeclRev.RevertDecl(*Di) && Successful;
|
||||||
#ifdef NDEBUG
|
#ifndef NDEBUG
|
||||||
assert(Successful && "Cannot handle that yet!");
|
assert(Successful && "Cannot handle that yet!");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user