Summary: | clazy-standalone: option to exclude subdirs | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Friedrich W. H. Kossebau <kossebau> |
Component: | general | Assignee: | Sergio Martins <smartins> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/clazy/925a3b596920db23bd4ddde256959baf9fbd8e30 | Version Fixed In: | |
Sentry Crash Report: |
Description
Friedrich W. H. Kossebau
2018-08-26 11:59:10 UTC
Git commit 925a3b596920db23bd4ddde256959baf9fbd8e30 by Sergio Martins. Committed on 08/09/2018 at 17:16. Pushed by smartins into branch 'master'. Add ability to ignore directories via command line For ClazyStandalone it's with --ignore-dirs. For clazy it's via the CLAZY_IGNORE_DIRS env variable. Both take a regexp, to make it similar to clang-tidy. M +1 -0 Changelog M +10 -9 src/Clazy.cpp M +2 -0 src/Clazy.h M +4 -1 src/ClazyContext.cpp M +31 -5 src/ClazyContext.h M +5 -1 src/ClazyStandaloneMain.cpp M +1 -1 src/checkbase.cpp M +15 -0 tests/clazy-standalone/config.json A +7 -0 tests/clazy-standalone/fileToIgnore.cpp [License: UNKNOWN] * A +2 -0 tests/clazy-standalone/fileToIgnore.cpp.expected A +6 -0 tests/clazy-standalone/fileToNotIgnore.cpp [License: UNKNOWN] * A +1 -0 tests/clazy-standalone/fileToNotIgnore.cpp.expected M +6 -1 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/925a3b596920db23bd4ddde256959baf9fbd8e30 Git commit 925a3b596920db23bd4ddde256959baf9fbd8e30 by Sergio Martins. Committed on 08/09/2018 at 17:16. Pushed by smartins into branch 'master'. Add ability to ignore directories via command line For ClazyStandalone it's with --ignore-dirs. For clazy it's via the CLAZY_IGNORE_DIRS env variable. Both take a regexp, to make it similar to clang-tidy. M +1 -0 Changelog M +10 -9 src/Clazy.cpp M +2 -0 src/Clazy.h M +4 -1 src/ClazyContext.cpp M +31 -5 src/ClazyContext.h M +5 -1 src/ClazyStandaloneMain.cpp M +1 -1 src/checkbase.cpp M +15 -0 tests/clazy-standalone/config.json A +7 -0 tests/clazy-standalone/fileToIgnore.cpp [License: UNKNOWN] * A +2 -0 tests/clazy-standalone/fileToIgnore.cpp.expected A +6 -0 tests/clazy-standalone/fileToNotIgnore.cpp [License: UNKNOWN] * A +1 -0 tests/clazy-standalone/fileToNotIgnore.cpp.expected M +6 -1 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/925a3b596920db23bd4ddde256959baf9fbd8e30 |