[clang] [Clang] Implement C++26’s P2893R3 ‘Variadic friends’ (PR #101448)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 09:07:58 PDT 2024
================
@@ -177,6 +190,8 @@ class FriendDecl final
UnsupportedFriend = Unsupported;
}
+ bool isVariadic() const { return EllipsisLoc.isValid(); }
----------------
cor3ntin wrote:
```suggestion
bool isPackExpansion() const { return EllipsisLoc.isValid(); }
```
https://github.com/llvm/llvm-project/pull/101448
More information about the cfe-commits
mailing list