Since that doesn't exist right now, use a local variable instead of calling getAssocExprs() twice; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280520
91177308-0d34-0410-b5e6-
96231b3b80d8
// Replace the resulting type information before rebuilding the generic
// selection expression.
- SmallVector<Expr *, 4> AssocExprs(GSE->getAssocExprs().begin(),
- GSE->getAssocExprs().end());
+ ArrayRef<Expr *> A = GSE->getAssocExprs();
+ SmallVector<Expr *, 4> AssocExprs(A.begin(), A.end());
unsigned ResultIdx = GSE->getResultIndex();
AssocExprs[ResultIdx] = SubExpr;