[cfe-commits] r64772 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Tue Feb 17 09:48:52 PST 2009
Author: kremenek
Date: Tue Feb 17 11:48:52 2009
New Revision: 64772
URL: http://llvm.org/viewvc/llvm-project?rev=64772&view=rev
Log:
Add '_assert' to list of known panic functions.
Modified:
cfe/trunk/lib/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=64772&r1=64771&r2=64772&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Tue Feb 17 11:48:52 2009
@@ -1213,7 +1213,7 @@
}
}
break;
-
+
case 6:
if (!memcmp(s, "Assert", 6)) {
Builder->BuildSinks = true;
@@ -1231,7 +1231,9 @@
break;
case 8:
- if (!memcmp(s ,"db_error", 8)) Builder->BuildSinks = true;
+ if (!memcmp(s ,"db_error", 8) ||
+ !memcmp(s, "__assert", 8))
+ Builder->BuildSinks = true;
break;
case 12:
More information about the cfe-commits
mailing list