[clang] 444d1cd - [clang-format][NFC] Update comment (#192301)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 11:36:47 PDT 2026
Author: sstwcw
Date: 2026-04-15T18:36:42Z
New Revision: 444d1cd76a34cceaf73712e9a5ed5c5bcb92b9ce
URL: https://github.com/llvm/llvm-project/commit/444d1cd76a34cceaf73712e9a5ed5c5bcb92b9ce
DIFF: https://github.com/llvm/llvm-project/commit/444d1cd76a34cceaf73712e9a5ed5c5bcb92b9ce.diff
LOG: [clang-format][NFC] Update comment (#192301)
The code changed in adba2aadf2.
Added:
Modified:
clang/lib/Format/UnwrappedLineParser.cpp
Removed:
################################################################################
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp
index 0ab11f69d9782..c2b3da3def640 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 =
More information about the cfe-commits
mailing list