[cfe-commits] r50089 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Mon Apr 21 22:37:34 PDT 2008
Author: kremenek
Date: Tue Apr 22 00:37:33 2008
New Revision: 50089
URL: http://llvm.org/viewvc/llvm-project?rev=50089&view=rev
Log:
Hardcode "Assert" as a no-return function (panic).
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=50089&r1=50088&r2=50089&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Tue Apr 22 00:37:33 2008
@@ -882,6 +882,10 @@
case 5:
if (!memcmp(s, "panic", 5)) Builder->BuildSinks = true;
break;
+
+ case 6:
+ if (!memcmp(s, "Assert", 6)) Builder->BuildSinks = true;
+ break;
}
}
}
More information about the cfe-commits
mailing list