[clang] [clang-format] Handle __attribute/__declspec/AttributeMacro consistently (PR #67518)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 13:50:11 PDT 2023
================
@@ -633,9 +637,10 @@ struct FormatToken {
bool canBePointerOrReferenceQualifier() const {
return isOneOf(tok::kw_const, tok::kw_restrict, tok::kw_volatile,
- tok::kw___attribute, tok::kw__Nonnull, tok::kw__Nullable,
+ tok::kw__Nonnull, tok::kw__Nullable,
tok::kw__Null_unspecified, tok::kw___ptr32, tok::kw___ptr64,
----------------
owenca wrote:
Yep!
https://github.com/llvm/llvm-project/pull/67518
More information about the cfe-commits
mailing list