Assert only when in debug mode *and* llvmdev mode

This commit is contained in:
Philippe Canal 2013-09-16 06:50:55 -05:00 committed by sftnight
parent cde2785b96
commit 2c46e27434

View File

@ -519,7 +519,7 @@ namespace cling {
// Get rid of the declaration. If the declaration has name we should
// heal the lookup tables as well
Successful = DeclRev.RevertDecl(*Di) && Successful;
#ifdef NDEBUG
#ifndef NDEBUG
assert(Successful && "Cannot handle that yet!");
#endif
}