File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -514,10 +514,6 @@ class RequiresExpr final : public Expr,
514
514
return NumLocalParameters;
515
515
}
516
516
517
- unsigned numTrailingObjects (OverloadToken<concepts::Requirement *>) const {
518
- return NumRequirements;
519
- }
520
-
521
517
RequiresExpr (ASTContext &C, SourceLocation RequiresKWLoc,
522
518
RequiresExprBodyDecl *Body, SourceLocation LParenLoc,
523
519
ArrayRef<ParmVarDecl *> LocalParameters,
@@ -540,13 +536,13 @@ class RequiresExpr final : public Expr,
540
536
unsigned NumRequirements);
541
537
542
538
ArrayRef<ParmVarDecl *> getLocalParameters () const {
543
- return { getTrailingObjects<ParmVarDecl *>(), NumLocalParameters} ;
539
+ return getTrailingObjects<ParmVarDecl *>(NumLocalParameters) ;
544
540
}
545
541
546
542
RequiresExprBodyDecl *getBody () const { return Body; }
547
543
548
544
ArrayRef<concepts::Requirement *> getRequirements () const {
549
- return { getTrailingObjects<concepts::Requirement *>(), NumRequirements} ;
545
+ return getTrailingObjects<concepts::Requirement *>(NumRequirements) ;
550
546
}
551
547
552
548
// / \brief Whether or not the requires clause is satisfied.
You can’t perform that action at this time.
0 commit comments