だから現在、私は次のスタイルを使用しています:
{
BasedOnStyle: "LLVM",
IndentWidth: 4,
UseTab: false,
ColumnLimit: 150,
Standard: "Cpp11",
BreakBeforeBraces: "Attach",
BreakBeforeBinaryOperators: false,
AlwaysBreakTemplateDeclarations: true,
AllowShortLoopsOnASingleLine: false,
AllowShortIfStatementsOnASingleLine: false,
AllowAllParametersOfDeclarationOnNextLine: true,
SpacesInParentheses: true,
SpacesBeforeTrailingComments: 1,
SpaceInEmptyParentheses: false,
SpaceAfterControlStatementKeyword: true,
PointerBindsToType: true,
MaxEmptyLinesToKeep: 1,
IndentFunctionDeclarationAfterType: true,
IndentCaseLabels: true,
ExperimentalAutoDetectBinPacking: true,
DerivePointerBinding: true,
Cpp11BracedListStyle: false,
ConstructorInitializerAllOnOneLineOrOnePerLine: true,
BreakConstructorInitializersBeforeComma: true
}
そして得る
try {
}
catch ( ... ) {
}
手に入れたいと思いながら
try {
} catch ( ... ) {
}
どのClang-Format Style Optionがそのような動作の原因になっていると言えるでしょうか?