如何防止在 for 循环结束前在 C 中换行;

How to prevent to break line in C at the end of for loop before ;

实际上我的选择是:"C_Cpp.clang_format_fallbackStyle": "{ BreakBeforeBraces: Linux, IndentWidth: 4, ColumnLimit: 80, UseTab: Never, SortIncludes: false, AlignAfterOpenBracket: DontAlign }"

我有:

for (int i = 0; i < 5; i++)
    ;

我要:

for (int i = 0; i < 5; i++);

这是一个已知问题,它会发出警告。唯一的办法就是这样写:

for (int i = 0; i < 5; i++) {}