Enforcing the assert caused the following tests to fail:
Clang :: Analysis__bstring.c
Clang :: Analysis__comparison-implicit-casts.cpp
Clang :: Analysis__malloc-interprocedural.c
Clang :: Analysis__malloc.c
Clang :: Analysis__redefined_system.c
Clang :: Analysis__string.c
Clang :: Analysis__weak-functions.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235190
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!evalFunction)
return false;
- // Make sure each function sets its own description.
- // (But don't bother in a release build.)
- assert(!(CurrentFunctionDescription == nullptr));
-
// Check and evaluate the call.
(this->*evalFunction)(C, CE);