[cfe-commits] r58410 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Wed Oct 29 17:00:57 PDT 2008


Author: kremenek
Date: Wed Oct 29 19:00:57 2008
New Revision: 58410

URL: http://llvm.org/viewvc/llvm-project?rev=58410&view=rev
Log:
Mark yy_fatal_error as a panic function.

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=58410&r1=58409&r2=58410&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Wed Oct 29 19:00:57 2008
@@ -1202,7 +1202,9 @@
             break;
             
           case 14:
-            if (!memcmp(s, "dtrace_assfail", 14)) Builder->BuildSinks = true;
+            if (!memcmp(s, "dtrace_assfail", 14) ||
+                !memcmp(s, "yy_fatal_error", 14))
+              Builder->BuildSinks = true;
             break;
             
           case 26:





More information about the cfe-commits mailing list