summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-10-18 09:13:34 +0000
committerHaojian Wu <hokein@google.com>2018-10-18 09:13:34 +0000
commit547f89d607044004969f2556e1d10770917b753d (patch)
treea84dadc58e55668a8364289c0a037eeefbd8783b /llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
parent5ee0188f2b87c7600ab2fef8f630efb75aeb57d5 (diff)
downloadbcm5719-llvm-547f89d607044004969f2556e1d10770917b753d.tar.gz
bcm5719-llvm-547f89d607044004969f2556e1d10770917b753d.zip
[clang-tidy] Ignore a case where the fix of make_unique check introduces side effect.
Summary: Previously, ptr.reset(new char[5]) will be replaced with `p = make_unique<char[]>(5)`, the fix has side effect -- doing default initialization, it may cause performace regression (we are bitten by this rececntly) The check should be conservative for these cases. Reviewers: alexfh Subscribers: xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D53377 llvm-svn: 344733
Diffstat (limited to 'llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud