commit | a59d20b135bfde058a5a69045bab5ec4e2553f74 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 07 11:57:57 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 07 11:57:57 2012 +0000 |
tree | 315b8539cc8af111d5cfc6d843ca040f974cc0f3 | |
parent | f978059b82db8c0d849c5f992036210b5ca53200 [diff] [blame] |
Print NamedDecls directly to a raw_ostream where possible. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149982 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 0bc1532..6678a0b 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
@@ -2205,7 +2205,7 @@ else { const FunctionDecl *FD = cast<FunctionDecl>(D); os << " is returned from a function whose name ('" - << FD->getNameAsString() + << *FD << "') does not contain 'Copy' or 'Create'. This violates the naming" " convention rules given in the Memory Management Guide for Core" " Foundation";