[clang] [clang-format] revert to string << string handling to previous default (PR #88490)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 12 13:03:30 PDT 2024


================
@@ -2193,6 +2193,41 @@ struct FormatStyle {
   /// \version 3.7
   bool BreakBeforeTernaryOperators;
 
+  /// Different ways to Break Between Chevrons.
+  enum BreakChevronOperatorStyle : int8_t {
+    /// Break using ColumnLimit rules.
+    /// \code
+    ///   os << "aaaaa" << "bbbbb" << "\n";
+    /// \endcode
+    BCOS_Never,
----------------
HazardyKnusperkeks wrote:

Maybe call it _normal_? It certainly isn't never, as you yourself documented.

https://github.com/llvm/llvm-project/pull/88490


More information about the cfe-commits mailing list