This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Block clang-tidy misc-const-correctness check
ClosedPublic

Authored by sammccall on Oct 12 2022, 4:44 PM.

Details

Summary

This check performs an extremely large amount of work (for each variable, it
runs very many full matcher-driven traversals of the whole scope the variable
is defined in).

When (inadvertently) enabled for Fuchsia, it regressed BuildAST times by >10x
(400ms -> 7s on my machine).

Diff Detail

Event Timeline

sammccall created this revision.Oct 12 2022, 4:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2022, 4:44 PM
Herald added a subscriber: arphaman. · View Herald Transcript
sammccall requested review of this revision.Oct 12 2022, 4:44 PM
kadircet accepted this revision.Oct 13 2022, 12:46 AM
This revision is now accepted and ready to land.Oct 13 2022, 12:46 AM
This revision was automatically updated to reflect the committed changes.
nridge added a subscriber: nridge.Oct 15 2022, 10:11 PM