SpacesInSquareBrackets
SpacesInSquareBrackets (Boolean)¶
Info
clang-format 3.7
如果为 true,将在 [ 和之前 ] 后面插入空格。没有参数或未指定大小的数组声明的匿名函数将不受影响。
int a[ 5 ];
std::unique_ptr<int[]> foo() {} // Won't be affected
int a[5];
最后更新:
2022-10-31