This option doesn't make much sense being in ClangTidyOptions as it is only used when reading configuration.
Instead of putting the option there, a new class ClangTidyInheritableOptions has been added, which extends ClangTidyOptions.
This should be used when reading configuration that is able to inherit from a parent.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This solves the problem, but in a heavyweight way that seems out-of-proportion to the size of the problem.
If it doesn't make sense to change the Optional<bool> to bool = false and deal wit the merging in an ad-hoc way, I think I prefer the way it is now.
Comment Actions
It's not super heavyweight, but I agree its a little more involved than expected for the small problem it fixes