https://github.com/XDeme closed https://github.com/llvm/llvm-project/pull/80085
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rymiel approved this pull request.
Thank you for the lightning fast fix!
https://github.com/llvm/llvm-project/pull/80085
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/owenca approved this pull request.
https://github.com/llvm/llvm-project/pull/80085
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/80085
>From 31936e52dd7a14f6f165ea15930f0b9d5c5a8d34 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Tue, 30 Jan 2024 21:36:04 -0300
Subject: [PATCH 1/3] Handle enum elaborated type specifier
---
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/80085
>From 31936e52dd7a14f6f165ea15930f0b9d5c5a8d34 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Tue, 30 Jan 2024 21:36:04 -0300
Subject: [PATCH 1/2] Handle enum elaborated type specifier
---
@@ -1760,8 +1760,8 @@ void UnwrappedLineParser::parseStructuralElement(
break;
}
case tok::kw_enum:
- // Ignore if this is part of "template is(tok::less)) {
+ // Ignore if this is part of "template enum".
+ if (Previous &&
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (XDeme)
Changes
Fixes llvm/llvm-project#80062
---
Full diff: https://github.com/llvm/llvm-project/pull/80085.diff
2 Files Affected:
- (modified) clang/lib/Format/UnwrappedLineParser.cpp (+2-2)
- (modified)
https://github.com/XDeme created https://github.com/llvm/llvm-project/pull/80085
Fixes llvm/llvm-project#80062
>From 31936e52dd7a14f6f165ea15930f0b9d5c5a8d34 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Tue, 30 Jan 2024 21:36:04 -0300
Subject: [PATCH] Handle enum elaborated type specifier
---