Skip to content

Commit 3ab12b4

Browse files
committed
regroup functions
1 parent 4a0d17c commit 3ab12b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/include/clang/AST/ExprCXX.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4549,6 +4549,10 @@ class PackIndexingExpr final
45494549

45504550
bool isFullySubstituted() const { return FullySubstituted; }
45514551

4552+
bool isPartiallySubstituted() const {
4553+
return isValueDependent() && TransformedExpressions;
4554+
};
4555+
45524556
/// Determine if the expression was expanded to empty.
45534557
bool expandsToEmptyPack() const {
45544558
return isFullySubstituted() && TransformedExpressions == 0;
@@ -4592,10 +4596,6 @@ class PackIndexingExpr final
45924596
return {getTrailingObjects<Expr *>(), TransformedExpressions};
45934597
}
45944598

4595-
bool isPartiallySubstituted() const {
4596-
return isValueDependent() && TransformedExpressions;
4597-
};
4598-
45994599
static bool classof(const Stmt *T) {
46004600
return T->getStmtClass() == PackIndexingExprClass;
46014601
}

0 commit comments

Comments
 (0)