-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
Description
Currently, users must opt-in to getting warnings from headers, via the unintuitive syntax --header-filter=<something>
. This is most likely not what people want, and is inconsistent with e.g. the clang compiler.
Instead, clang-tidy should warn on all non-system headers by default, and --header-filter
should then be used to narrow down which subset of headers to warn on, if wanted.
The solution to this problem would be to simply make header-filter
default to .*
instead of an empty string.
vbvictor
Metadata
Metadata
Assignees
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature