[clang] [clang-format] Don't break between string literal operands of << (PR #69871)

Emilia Kond via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 22 08:27:17 PDT 2023


================
@@ -5118,10 +5118,6 @@ bool TokenAnnotator::mustBreakBefore(const AnnotatedLine &Line,
     return true;
   if (Left.IsUnterminatedLiteral)
     return true;
-  if (Right.is(tok::lessless) && Right.Next && Left.is(tok::string_literal) &&
----------------
rymiel wrote:

https://github.com/llvm/llvm-project/commit/2603ee0dc6003be0fbe43038b34580864d1e0c85
Here, 11 years ago

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


More information about the cfe-commits mailing list