一、生成配置(LLVM风格):# 假定你的vscode clang-format插件中配置的配置文件名为.clang-format cd <your project root> clang-format --style=LLVM -dump-config > .clang-format二、修改配置(以下…
一、生成配置(LLVM风格): # 假定你的vscode clang-format插件中配置的配置文件名为.clang-format cd <your project root> clang-format --style=LLVM -dump-config > .clang-format 二、修改配置(以下为当前这边使用的配置,大家可以基于此模板修改)