https://github.com/HazardyKnusperkeks created https://github.com/llvm/llvm-project/pull/191872
Doesn't change anything, must be a leftover now handled by some other code. From cf1c38a58e785eb503974bbcd677e0fcf86c0b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Sch=C3=A4pers?= <[email protected]> Date: Mon, 13 Apr 2026 20:56:32 +0200 Subject: [PATCH] [clang-format][NFC] Remove superflous checks Doesn't change anything, must be a leftover now handled by some other code. --- clang/lib/Format/ContinuationIndenter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clang/lib/Format/ContinuationIndenter.cpp b/clang/lib/Format/ContinuationIndenter.cpp index c30b3e58c3e89..d204737c02b67 100644 --- a/clang/lib/Format/ContinuationIndenter.cpp +++ b/clang/lib/Format/ContinuationIndenter.cpp @@ -1017,10 +1017,7 @@ void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, !(Current.MacroParent && Previous.MacroParent) && (Current.isNot(TT_LineComment) || (Previous.is(BK_BracedInit) && - (Style.Cpp11BracedListStyle != FormatStyle::BLS_FunctionCall || - !Previous.Previous || - Previous.Previous->isNoneOf(tok::identifier, tok::l_paren, - BK_BracedInit))) || + Style.Cpp11BracedListStyle != FormatStyle::BLS_FunctionCall) || Previous.is(TT_VerilogMultiLineListLParen)) && !IsInTemplateString(Current, false)) { CurrentState.Indent = State.Column + Spaces; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
