diff options
Diffstat (limited to 'clang/lib/Checker/NSErrorChecker.cpp')
-rw-r--r-- | clang/lib/Checker/NSErrorChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/NSErrorChecker.cpp b/clang/lib/Checker/NSErrorChecker.cpp index 9130bfad840..e30d54ccd79 100644 --- a/clang/lib/Checker/NSErrorChecker.cpp +++ b/clang/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 |