diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-17 05:38:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-17 05:38:27 +0000 |
commit | 5a9b1ec94c0ecdd660a9997387ed917bc5b97bce (patch) | |
tree | 61d91837815ea8b2750debd42432230418cbd99f /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | |
parent | e281e99f760ad5944f2a9c840001f17e870dc5ed (diff) | |
download | bcm5719-llvm-5a9b1ec94c0ecdd660a9997387ed917bc5b97bce.tar.gz bcm5719-llvm-5a9b1ec94c0ecdd660a9997387ed917bc5b97bce.zip |
simplify a bit.
llvm-svn: 125724
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 7bd0249422a..9d3a887cdbf 100644 --- a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp @@ -380,9 +380,7 @@ bool MallocChecker::SummarizeValue(llvm::raw_ostream& os, SVal V) { else if (loc::ConcreteInt *ConstAddr = dyn_cast<loc::ConcreteInt>(&V)) os << "a constant address (" << ConstAddr->getValue() << ")"; else if (loc::GotoLabel *Label = dyn_cast<loc::GotoLabel>(&V)) - os << "the address of the label '" - << Label->getLabel()->getID()->getName() - << "'"; + os << "the address of the label '" << Label->getLabel()->getName() << "'"; else return false; |