https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/136099
>From 53033b278f89a508d079614eadd58b103211d5dd Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 17 Apr 2025 00:35:19 -0700
Subject: [PATCH 1/2] [clang-format] Fix a bug in parsing C-style cast lambda
Fix #1359
@@ -2371,7 +2371,8 @@ bool UnwrappedLineParser::tryToParseLambdaIntroducer() {
if ((Previous && ((Previous->Tok.getIdentifierInfo() &&
!Previous->isOneOf(tok::kw_return, tok::kw_co_await,
tok::kw_co_yield, tok::kw_c
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fix #135959
---
Full diff: https://github.com/llvm/llvm-project/pull/136099.diff
2 Files Affected:
- (modified) clang/lib/Format/UnwrappedLineParser.cpp (+2-1)
- (modified) clang/unittests/Format/TokenA
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/136099
Fix #135959
>From 53033b278f89a508d079614eadd58b103211d5dd Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 17 Apr 2025 00:35:19 -0700
Subject: [PATCH] [clang-format] Fix a bug in parsing C-style cast lambda