--- Language: Cpp BasedOnStyle: Google # --- intentional deviations from Google C++ defaults --- ColumnLimit: 120 # Google: 80 IndentWidth: 4 # Google: 2 TabWidth: 4 # Google/LLVM: 8(UseTab: Never 时几乎无感,与缩进对齐) AccessModifierOffset: -4 # Google: -1(配合 IndentWidth 4,使 public/private 与 class 同级) BreakBeforeBraces: Allman # Google: Attach AllowShortFunctionsOnASingleLine: Inline # 需要显示Inline