This is a work in progress.
The goal is to make clazy a bit ore compatible with clang-tidy.
This requires to handle more command line options (eg, -list-checks),
handle check filtering (eg '*' and '-') and be able to load a default
config from a file.
Details
Details
- Reviewers
smartins
None yet
Diff Detail
Diff Detail
- Repository
- R74 Clazy
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 11757 Build 11775: arc lint + arc unit
src/Clazy.cpp | ||
---|---|---|
367 | I'll push this one. But there are more, in the docs: chgans@chgans-workstation:~/Projects/clazy$ git grep -w CLAZY_FIXIT docs/checks/README-auto-unexpected-qstringbuilder.md: export CLAZY_FIXIT="fix-auto-unexpected-qstringbuilder" docs/checks/README-function-args-by-ref.md: export CLAZY_FIXIT="fix-function-args-by-ref" docs/checks/README-old-style-connect.md:You can convert the most simple cases with `export CLAZY_FIXIT=fix-old-style-connect`. docs/checks/README-qstring-allocations.md: export CLAZY_FIXIT="fix-fromCharPtrAllocations" docs/checks/README-qstring-ref.md:`export CLAZY_FIXIT="fix-missing-qstringref"` docs/man/clazy.pod:clazy has the ability to "fix" the offending code in some cases. See the B<CLAZY_FIXIT> docs/man/clazy.pod:B<CLAZY_FIXIT> - some checkers are able to automatically re-write your source code whenever docs/man/clazy.pod:% export CLAZY_FIXIT="fix-qlatin1string-allocations" docs/man/clazy.pod:% export CLAZY_FIXIT=fix-old-style-connect |
Comment Actions
needs a rebase, then it probably can be merged (if it's functionally equivalent, i.e. doesn't remove the env vars just yet)
then in another commit it can read from .clazy