diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-22 05:37:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-22 05:37:33 +0000 |
commit | 9a094cbf19868f15e6d79731b3edb1ec544d8193 (patch) | |
tree | 3b4bc168db8829efd9067fa0ce5d550a02d83084 /lib/Analysis/GRExprEngine.cpp | |
parent | ad487f4ef2968c5a11bb729e65fda2f2e4b155c8 (diff) |
Hardcode "Assert" as a no-return function (panic).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 677ef1cdc9..8a00d604de 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -882,6 +882,10 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred, case 5: if (!memcmp(s, "panic", 5)) Builder->BuildSinks = true; break; + + case 6: + if (!memcmp(s, "Assert", 6)) Builder->BuildSinks = true; + break; } } } |