clang-tidy option tracker
Tracker for clang-tidy checks to enable.
With c++03:
performance-faster-string-find
performance-inefficient-vector-operation
performance-type-promotion-in-math-fn
performance-unnecessary-copy-initialization
misc-throw-by-value-catch-by-reference
readability-const-return-type
readability-container-size-empty
readability-redundant-declaration
readability-redundant-function-ptr-dereference
readability-redundant-string-init
readability-simplify-subscript-expr
readability-static-accessed-through-instance
misc-misplaced-const
With c++11 enabled (#394 (closed))
performance-unnecessary-value-param
readability-implicit-bool-conversion
readability-simplify-boolean-expr
bugprone-incorrect-roundings
misc-unused-using-decls
modernize-*
performance-*
After clang-apply-replacements bug has been addressed:
readability-non-const-parameter
Script
For reproducibility, the script used was as provided by clang (https://clang.llvm.org/extra/doxygen/run-clang-tidy_8py_source.html). To ensure c++98 compatibility:
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_OCC=0 -DENABLE_CXX11=0 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
@geuzaine Any requests? Note that some of these will require C++11 so (hopefully ;)) we can enable them soon.