[clang] [clang-format] Fix a bug in wrapping function return type (PR #129374)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 21:49:57 PST 2025


================
@@ -5091,8 +5091,10 @@ UnwrappedLineParser::parseMacroCall() {
 void UnwrappedLineParser::pushToken(FormatToken *Tok) {
   Line->Tokens.push_back(UnwrappedLineNode(Tok));
   if (MustBreakBeforeNextToken) {
----------------
owenca wrote:

I renamed it to [`AtEndOfPPLine`](https://github.com/owenca/llvm-project/blob/a6ccda28f7569c1a03620d7520de7cfadc11f4a5/clang/lib/Format/UnwrappedLineParser.h#L304) instead.

https://github.com/llvm/llvm-project/pull/129374


More information about the cfe-commits mailing list