ZedThree / clang-tidy-review

Create a pull request review based on clang-tidy warnings
MIT License
88 stars 44 forks source link

Unable to use --config_file= with clang-tidy-11 and lower #42

Closed FlorianReimold closed 1 year ago

FlorianReimold commented 2 years ago

It's about this line: https://github.com/ZedThree/clang-tidy-review/blob/f8e03413f77a06b68b4825999de3b4f9a41b82df/review.py#L528

The --config-file option exists since clang-tidy-12. Therefore older versions will fail and report that there were no issues at all (because I removed the raise in the error case 😉)