aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/generate.h
diff options
context:
space:
mode:
authorCongcong Cai <congcongcai0907@163.com>2025-02-26 20:39:41 +0800
committerGitHub <noreply@github.com>2025-02-26 20:39:41 +0800
commita00586171cdf835148c66704a877740a9f742a3a (patch)
tree18d10d06a21cf894d48fd4376e4ba38d75cab86f /libcxx/include/__algorithm/generate.h
parent5231736329224fa3f812c22e1e5250e776956550 (diff)
downloadllvm-a00586171cdf835148c66704a877740a9f742a3a.zip
llvm-a00586171cdf835148c66704a877740a9f742a3a.tar.gz
llvm-a00586171cdf835148c66704a877740a9f742a3a.tar.bz2
[clang-tidy]improve performance-unnecessary-value-param performance (#128383)
Tolerate fix-it breaking compilation when functions is used as pointers. `isReferencedOutsideOfCallExpr` will visit the whole translate unit for each matched function decls. It will waste lots of cpu time in some big cpp files. But the benefits of this validation are limited. Lots of function usage are out of current translation unit. After removing this validation step, the check profiling changes from 5.7 to 1.1 in SemaExprCXX.cpp, which is similar to version 18.
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions