https://github.com/sstwcw created https://github.com/llvm/llvm-project/pull/192301
The code changed in adba2aadf2. >From c2cf3067114a4b96d1b713595df9e43bb5091cb4 Mon Sep 17 00:00:00 2001 From: sstwcw <[email protected]> Date: Wed, 15 Apr 2026 18:01:46 +0000 Subject: [PATCH] [clang-format][NFC] Update comment The code changed in adba2aadf2. --- clang/lib/Format/UnwrappedLineParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp index c44cbebfbc598..6e9c6e030677c 100644 --- a/clang/lib/Format/UnwrappedLineParser.cpp +++ b/clang/lib/Format/UnwrappedLineParser.cpp @@ -566,8 +566,8 @@ void UnwrappedLineParser::calculateBraceTypes(bool ExpectClassBody) { (IsCpp && (PrevTok->Tok.isLiteral() || NextTok->isOneOf(tok::l_paren, tok::arrow))); - // If there is a comma, semicolon or right paren after the closing - // brace, we assume this is a braced initializer list. + // If there is a comma, or right paren after the closing brace, we + // assume this is a braced initializer list. // FIXME: Some of these do not apply to JS, e.g. "} {" can never be a // braced list in JS. ProbablyBracedList = _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
