commit | 9e2f5977a180ae927d05e844c65b8a7873be48a4 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Fri Apr 12 18:40:21 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Fri Apr 12 18:40:21 2013 +0000 |
tree | 96fa8bd1b0f074f3870cbe140c2c9a9e8a23b528 | |
parent | 333ac6ed908bd70b879243a1d8541c27f142b40a [diff] [blame] |
[analyzer]Print field region even when the base region is not printable git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179395 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index b000bfa..e19e3f7 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -1606,9 +1606,8 @@ SmallString<200> buf; llvm::raw_svector_ostream os(buf); if (Region && Region->canPrintPretty()) { - os << "Potential leak of memory pointed to by '"; + os << "Potential leak of memory pointed to by "; Region->printPretty(os); - os << '\''; } else { os << "Potential memory leak"; }