llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-format Author: sstwcw <details> <summary>Changes</summary> The code changed in adba2aadf2. --- Full diff: https://github.com/llvm/llvm-project/pull/192301.diff 1 Files Affected: - (modified) clang/lib/Format/UnwrappedLineParser.cpp (+2-2) ``````````diff 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 = `````````` </details> https://github.com/llvm/llvm-project/pull/192301 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
