diff options
author | Anton Yartsev <anton.yartsev@gmail.com> | 2014-02-17 18:25:34 +0000 |
---|---|---|
committer | Anton Yartsev <anton.yartsev@gmail.com> | 2014-02-17 18:25:34 +0000 |
commit | 6a61922239de8018239eef23328dba457874064c (patch) | |
tree | 3aa04bb4e9c98dffb955d496e853674961f0b6f8 /clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp | |
parent | 06bd44b3e80c8b72657bebc7d79c7ceb7522fa9c (diff) | |
download | bcm5719-llvm-6a61922239de8018239eef23328dba457874064c.tar.gz bcm5719-llvm-6a61922239de8018239eef23328dba457874064c.zip |
[analyzer] Improved checker naming in CFG dump.
This implements FIXME from Checker.cpp (FIXME: We want to return the package + name of the checker here.) and replaces hardcoded checker names with the new ones obtained via getCheckName().getName().
llvm-svn: 201525
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp index 33200a06d9a..273b2212f5c 100644 --- a/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp @@ -350,7 +350,7 @@ void ObjCSelfInitChecker::printState(raw_ostream &Out, ProgramStateRef State, if (FlagMap.isEmpty() && !DidCallInit && !PreCallFlags) return; - Out << Sep << NL << "ObjCSelfInitChecker:" << NL; + Out << Sep << NL << *this << " :" << NL; if (DidCallInit) Out << " An init method has been called." << NL; |