[clang] [clang-format] Improve attribute (macro) handling for enums (PR #227461)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 11 00:54:46 PDT 2026
=?utf-8?q?Bj=C3=B6rn_Sch=C3=A4pers?= <bjoern at hazardy.de>,
=?utf-8?q?Bj=C3=B6rn_Sch=C3=A4pers?= <bjoern at hazardy.de>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/227461 at github.com>
================
----------------
owenca wrote:
```suggestion
if (FormatTok->is(tok::l_paren)) {
parseParens();
continue;
}
```
to handle `__attribute__` or `__declspec` between two attribute macros.
https://github.com/llvm/llvm-project/pull/227461
More information about the cfe-commits
mailing list