summaryrefslogtreecommitdiffstats
path: root/lib/Checker/NSErrorChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Checker/NSErrorChecker.cpp')
-rw-r--r--lib/Checker/NSErrorChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/NSErrorChecker.cpp b/lib/Checker/NSErrorChecker.cpp
index 9130bfa..e30d54c 100644
--- a/lib/Checker/NSErrorChecker.cpp
+++ b/lib/Checker/NSErrorChecker.cpp
@@ -226,7 +226,7 @@ void NSErrorChecker::CheckParamDeref(const VarDecl *Param,
else
os << "documented in CoreFoundation/CFError.h the parameter '";
- os << Param->getNameAsString() << "' may be null.";
+ os << Param << "' may be null.";
BugReport *report = new BugReport(*this, os.str(), *I);
// FIXME: Notable symbols are now part of the report. We should
OpenPOWER on IntegriCloud