[analyzer] Quote the type of the leaked/problematic object in diagnostics for readability
authorGeorge Karpenkov <ekarpenkov@apple.com>
Thu, 10 Jan 2019 18:15:57 +0000 (18:15 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Thu, 10 Jan 2019 18:15:57 +0000 (18:15 +0000)
commit4f64b38f561a7dfab1cbb7514f1bfdacbc7e8bad
treede116851b2390a305de3b5e927bf56345561ce90
parent363dd8e4b86cab350999afbbaf23c5f8fa472b47
[analyzer] Quote the type of the leaked/problematic object in diagnostics for readability

Differential Revision: https://reviews.llvm.org/D56344

llvm-svn: 350867
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
clang/test/Analysis/Inputs/expected-plists/objc-arc.m.plist
clang/test/Analysis/Inputs/expected-plists/objc-radar17039661.m.plist
clang/test/Analysis/Inputs/expected-plists/plist-output-alternate.m.plist
clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
clang/test/Analysis/objc-radar17039661.m
clang/test/Analysis/osobject-retain-release.cpp
clang/test/Analysis/retain-release-arc.m
clang/test/Analysis/retain-release-path-notes.m
clang/test/Analysis/retaincountchecker-compoundregion.m