summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-24 18:47:16 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-24 18:47:16 +0000
commit9e9afb552cb68080649c9b1da62882e9a2016854 (patch)
tree7d69f2c18d0e0180f4d798a831bdb6b68d6dd73b /clang/lib/Analysis
parent365f21c8dbfeadb1e2e1ea9a8d5cd0548af9295e (diff)
downloadbcm5719-llvm-9e9afb552cb68080649c9b1da62882e9a2016854.tar.gz
bcm5719-llvm-9e9afb552cb68080649c9b1da62882e9a2016854.zip
Correctly handle NSAssertionHandle -handleFailureInMethod:object:file:lineNumber:description:
This fixes: http://llvm.org/bugs/show_bug.cgi?id=2593 llvm-svn: 53993
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index edcddd22a55..17ad4481d30 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -1038,6 +1038,7 @@ void RetainSummaryManager::InitializeMethodSummaries() {
II.clear();
II.push_back(&Ctx.Idents.get("handleFailureInMethod"));
+ II.push_back(&Ctx.Idents.get("object"));
II.push_back(&Ctx.Idents.get("file"));
II.push_back(&Ctx.Idents.get("lineNumber"));
II.push_back(&Ctx.Idents.get("description"));
OpenPOWER on IntegriCloud