summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-11-30 02:17:44 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-11-30 02:17:44 +0000
commitf893ea1592a4df9cba8e63d7fee1600eeda51a2a (patch)
tree0b6a666530d746424fed612b90a14c86d3229f6b /clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp
parenta1c3bb88eeb83d5aa010827cae0408749d06a10d (diff)
downloadbcm5719-llvm-f893ea1592a4df9cba8e63d7fee1600eeda51a2a.tar.gz
bcm5719-llvm-f893ea1592a4df9cba8e63d7fee1600eeda51a2a.zip
[analyzer] Add the type of the leaked object to the diagnostic message
If the object is a temporary, and there is no variable it binds to, let's at least print out the object name in order to help differentiate it from other temporaries. rdar://45175098 Differential Revision: https://reviews.llvm.org/D55033 llvm-svn: 347943
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud