Issue 146482
Summary [clang-tidy] clang-analyzer-* checks should be disabled by default
Labels clang-tidy
Assignees
Reporter carlosgalvezp
    Currently, `clang-analyzer-*` checks are enabled by default. They are not special compared to other checks, so I see no reason why they should have special treatment. They are also heavier than most regular checks so there's a hidden performance penalty by default.

Also, it leads to clang-tidy running silently when no checks are requested. It's better to fail early and tell people that they must explicitly request checks of their choice for clang-tidy to work. Otherwise people may think they have enabled checks, but they haven't.




_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to