Closed haozhihan closed 3 months ago
@haozhihan Please check the exact command for clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/readability/braces-around-statements.html
According to this, I found that Clang-Tidy Checks does not provide fixes for readability-braces-around-statements
.
But why can I achieve the effect of fix on my own server, caused by the different versions of clang-tidy?
But why can I achieve the effect of fix on my own server, caused by the different versions of clang-tidy?
@haozhihan Maybe it is a clang-format feature?
wow! Great!
Is the clang-format version on our CI machine up to clang-format 15?
@caic99
Describe the Code Quality Issue
https://github.com/deepmodeling/abacus-develop/blob/develop/.clang-tidy#L8
Why didn't
readability-braces-around-statements
work in CI?I verified on my own server that A is working properly.
clang-tidy test.cpp -checks='-*,readability-braces-around-statements' -fix
Additional Context
No response
Task list for Issue attackers (only for developers)