-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix clang-tidy warnings #2843
Labels
type/code-quality-improvement
PR that can improve the code quality
Comments
fuzhe1989
added
the
type/code-quality-improvement
PR that can improve the code quality
label
Sep 3, 2021
This comment has been minimized.
This comment has been minimized.
How can I run clang-tidy checks on some files/directories locally? |
@JaySon-Huang for-each clang-tidy-12 -p build/compile_commands.json ${f} |
install brew install llvm
ln -s "/usr/local/opt/llvm/bin/clang-format" "/usr/local/bin/clang-format"
ln -s "/usr/local/opt/llvm/bin/clang-tidy" "/usr/local/bin/clang-tidy" |
A simple script for local check:
|
We can use plugin clangd in vscode and clion, which is very helpful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Files under dbms/src/Common Core Columns and libs/libcommon
Link: https://drive.google.com/drive/folders/1D1R5JlptJE_cjwzcgaXKlNW2HsQW8ka9?usp=sharing
Please take away yourself.
NOTE: dbms_src_Common_Config_cpptoml_h.txt is very large.
List:
The text was updated successfully, but these errors were encountered: