跳转至

BreakStringLiterals

BreakStringLiterals (Boolean)

Info

clang-format 3.9

允许在格式化时中断字符串文字。

const char* x = "veryVeryVeryVeryVeryVe"
                "ryVeryVeryVeryVeryVery"
                "VeryLongString";
const char* x =
    "veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString";

最后更新: 2022-10-31