Something similar to what `run-clang-tidy.py -header-filter=...` provides.
Maybe we want a run-clazy-standalone instead ? Or even make run-clang-tidy.py compatible with clazy
Making run-clang-tidy.py compatible with clazy makes sense to me. Especially if the goal is to one day be integrated with clang-tidy as a plugin.
-header-filter is not run-clang-tidy.py option, but option of clang-tidy itself, while clazy doesn't have this option. For me personally it's much more important than having run-clazy-standalone of any kind
Git commit c86bd90f5918c5032a2c83c34d7edb5297dc95d6 by Sergio Martins. Committed on 13/01/2018 at 13:25. Pushed by smartins into branch 'master'. Introduce -header-filter=<regexp> option for clazy-standalone Similar to what clang-tidy has. Useful for when you can't use -isystem. M +2 -0 Changelog M +6 -7 src/Clazy.cpp M +5 -2 src/Clazy.h M +5 -1 src/ClazyContext.cpp M +29 -1 src/ClazyContext.h M +7 -1 src/ClazyStandaloneMain.cpp M +3 -0 src/checkbase.cpp A +15 -0 tests/clazy-standalone/config.json A +7 -0 tests/clazy-standalone/header_filter.cpp [License: UNKNOWN] * A +3 -0 tests/clazy-standalone/header_filter.cpp.expected A +7 -0 tests/clazy-standalone/header_filter2.cpp [License: UNKNOWN] * A +2 -0 tests/clazy-standalone/header_filter2.cpp.expected A +6 -0 tests/clazy-standalone/header_filter_bar.h [License: UNKNOWN] * A +6 -0 tests/clazy-standalone/header_filter_foo.h [License: UNKNOWN] * M +7 -0 tests/run_tests.py The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. https://commits.kde.org/clazy/c86bd90f5918c5032a2c83c34d7edb5297dc95d6