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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 22 14:13:31 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) &&
----------------
owenca wrote:

No, it still passes.

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


More information about the cfe-commits mailing list