Open Quuxplusone opened 2 years ago
Bugzilla Link | PR52235 |
Status | NEW |
Importance | P enhancement |
Reported by | Trass3r (trass3r@gmail.com) |
Reported on | 2021-10-20 09:18:11 -0700 |
Last modified on | 2021-10-20 09:32:23 -0700 |
Version | unspecified |
Hardware | Other All |
CC | blitzrakete@gmail.com, dblaikie@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
I /think/ this is still more of a stylistic (it's not a bug in every codebase - only some codebases) thing - admittedly we do have -Wweak-vtables, which is similarly esoteric and stylistic/build optimization, so there's some precedent. But generally we try not to add warnings that are off-by-default due to the fact that compiler warnings have a higher maintenance cost (due to the tight integration/being embedded in clang's code, rather than in a plugin/standalone module like clang-tidy).
Especially given the heuristic nature of what's "too complex" here, that probably also contributes to it being more suited to clang-tidy than to a clang warning.