summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-12-21 01:50:14 +0000
committerAnna Zaks <ganna@apple.com>2012-12-21 01:50:14 +0000
commit9747febba90c40829ee428e0cd2ac2338cf64c91 (patch)
tree975dcf9db90d1ef203f1a2fe777d478906bacacd /clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
parent99cafb1db2f1aeb6cd1ebf216714ce1b1b7f89c0 (diff)
downloadbcm5719-llvm-9747febba90c40829ee428e0cd2ac2338cf64c91.tar.gz
bcm5719-llvm-9747febba90c40829ee428e0cd2ac2338cf64c91.zip
[analyzer] Address Jordan's nitpicks as per code review of r170625.
llvm-svn: 170832
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
index b57c6e2b4fb..150b4be34cc 100644
--- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
@@ -3179,7 +3179,7 @@ bool RetainCountChecker::evalCall(const CallExpr *CE, CheckerContext &C) const {
// Invalidate the argument region.
state = state->invalidateRegions(ArgRegion, CE, C.blockCount(), LCtx,
- /*ResultsInPointerEscape*/ false);
+ /*CausedByPointerEscape*/ false);
// Restore the refcount status of the argument.
if (Binding)
OpenPOWER on IntegriCloud