summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-04-08 18:09:16 +0000
committerTed Kremenek <kremenek@apple.com>2013-04-08 18:09:16 +0000
commite06df46f3f6b28a161f3c637a99dbab17d13f01b (patch)
tree0c71d5c4fb7099fad1a68ea0d703bf9c00fd92d7 /clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
parentf47d2d7f6b8b57a227b029710dd9f78f1de4dc11 (diff)
downloadbcm5719-llvm-e06df46f3f6b28a161f3c637a99dbab17d13f01b.tar.gz
bcm5719-llvm-e06df46f3f6b28a161f3c637a99dbab17d13f01b.zip
Tweak warning text for nil value in ObjC container warning.
llvm-svn: 179034
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp b/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
index afccb9bebc1..ed503d1cf91 100644
--- a/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
@@ -124,7 +124,7 @@ void NilArgChecker::WarnIfNilArg(CheckerContext &C,
os << "Array element cannot be nil";
} else if (Class == FC_NSDictionary) {
if (Arg == 0) {
- os << "Value stored in '";
+ os << "Value stored into '";
os << GetReceiverInterfaceName(msg) << "' cannot be nil";
} else {
assert(Arg == 1);
OpenPOWER on IntegriCloud