[clang] [clang-format] Don't break between string literal operands of << (PR #69871)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 22 11:20:14 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) &&
----------------
HazardyKnusperkeks wrote:
Thanks.
And the test doesn't need to be changed?
https://github.com/llvm/llvm-project/pull/69871
More information about the cfe-commits
mailing list