aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorValeriy Savchenko <vsavchenko@apple.com>2021-04-16 11:22:25 +0300
committerValeriy Savchenko <vsavchenko@apple.com>2021-04-28 18:37:37 +0300
commit1dad8c5036bc912078f7859d89e3ea571616fc4a (patch)
tree9cd5486d721bebcd947ccaabe5da99d1bbed166f /clang/lib/Frontend/CompilerInvocation.cpp
parentb8baa2a9132498ea286dbb0d03f005760ecc6fdb (diff)
downloadllvm-1dad8c5036bc912078f7859d89e3ea571616fc4a.zip
llvm-1dad8c5036bc912078f7859d89e3ea571616fc4a.tar.gz
llvm-1dad8c5036bc912078f7859d89e3ea571616fc4a.tar.bz2
[analyzer][NFC] Remove duplicated work from retain count leak report
Allocation site is the key location for the leak checker. It is a uniqueing location for the report and a source of information for the warning's message. Before this patch, we calculated and used it twice in bug report and in bug report visitor. Such duplication is not only harmful performance-wise (not much, but still), but also design-wise. Because changing something about the end piece of the report should've been repeated for description as well. Differential Revision: https://reviews.llvm.org/D100626
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions