[clang] [clang-tools-extra] [clang] support pack expansions for trailing requires clauses (PR #133190)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 2 05:14:53 PDT 2025
================
@@ -3571,7 +3571,7 @@ bool FunctionDecl::isMemberLikeConstrainedFriend() const {
// If these friends don't have constraints, they aren't constrained, and
// thus don't fall under temp.friend p9. Else the simple presence of a
// constraint makes them unique.
- return getTrailingRequiresClause();
+ return static_cast<bool>(getTrailingRequiresClause());
----------------
cor3ntin wrote:
At this point, I would prefer a `isNull` member function in addition of the bool operator
https://github.com/llvm/llvm-project/pull/133190
More information about the cfe-commits
mailing list