forked from OSchip/llvm-project
Remove the assertion as it was useless and broken.
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 llvm-svn: 235190
This commit is contained in:
parent
908cba40b6
commit
3dbaf8534a
|
@ -1922,10 +1922,6 @@ bool CStringChecker::evalCall(const CallExpr *CE, CheckerContext &C) const {
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue