tell clang-format (or tidy) to make sure all files end with a newline char #132 Open Habbie opened this issue Oct 20, 2024· 0 comments CommentsMember Habbie commented Oct 20, 2024 No description provided.Sign up for free to join this conversation on GitHub. Already have an account...
int formatted_code; // clang-format off void unformatted_code ; // clang-format on void formatted_code_again;// clang-format off和// clang-format on自身会被格式化。1.2 下载Clang-toolsClang-tool是LLVM环境自带的工具集,其除了Clang-format格式化工具外,还有代码检查工具,如Clang-tidy,Clang-check等...