Index: clang/include/clang/Format/Format.h =================================================================== --- clang/include/clang/Format/Format.h +++ clang/include/clang/Format/Format.h @@ -1077,6 +1077,16 @@ bool BreakAfterJavaFieldAnnotations; /// Allow breaking string literals when formatting. + /// \code + /// true: + /// const char* x = "veryVeryVeryVeryVeryVe" + /// "ryVeryVeryVeryVeryVery" + /// "VeryLongString"; + /// + /// false: + /// const char* x = + /// "veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString"; + /// \endcode bool BreakStringLiterals; /// The column limit.