================ @@ -62,6 +62,22 @@ struct FormatStyle { /// \version 3.3 int AccessModifierOffset; + /// Different styles for breaking the parenthesis after a control statement + /// (``if/switch/while/for ...``). + /// \version 21 + enum BreakAfterControlStatementStyle : int8_t { + /// Use the default behavior. + BACSS_Default, + /// Force break after the left parenthesis of a control statement only + /// when the expression exceeds the column limit, and align on the + /// ``ContinuationIndentWidth``. + BACSS_MultiLine, + /// Do not force a break after the control statment. + BACSS_No, ---------------- owenca wrote:
Code examples? https://github.com/llvm/llvm-project/pull/108332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits