aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Interfaces/CallInterfaces.cpp
diff options
context:
space:
mode:
authorCarlos Galvez <carlosgalvezp@gmail.com>2025-08-02 12:20:25 +0200
committerGitHub <noreply@github.com>2025-08-02 12:20:25 +0200
commit0e40051565db1399b573b4bddc43c806ca86dc8d (patch)
tree37fcec587f32d4f56b3f305f6e1a80a77861c38f /mlir/lib/Interfaces/CallInterfaces.cpp
parenteefc3d275f1e089cb400e697659c55d3ae05006d (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[clang-tidy] Skip declarations in system headers in RenamerClangTidyC… (#151772)HEADmain
…heck One typically only wants to perform renaming operations in user code, not in system headers (which are out of the user's control). Let's skip those altogether. This leads to performance improvements in clang-tidy. As a benchmark, I run all checks on a .cpp file that #includes all C++ standard headers. On trunk: ``` Suppressed 213362 warnings (213362 in non-user code). real 0m14.422s user 0m14.236s sys 0m0.184s ``` On this patch: ``` Suppressed 75411 warnings (75411 in non-user code). real 0m12.472s user 0m12.334s sys 0m0.136s ``` Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>
Diffstat (limited to 'mlir/lib/Interfaces/CallInterfaces.cpp')
0 files changed, 0 insertions, 0 deletions