We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555f8da commit 4e21041Copy full SHA for 4e21041
include/swift/AST/ParameterList.h
@@ -76,7 +76,10 @@ class alignas(ParamDecl *) ParameterList final :
76
iterator end() { return getArray().end(); }
77
const_iterator begin() const { return getArray().begin(); }
78
const_iterator end() const { return getArray().end(); }
79
-
+
80
+ ParamDecl *front() const { return getArray().front(); }
81
+ ParamDecl *back() const { return getArray().back(); }
82
83
MutableArrayRef<ParamDecl*> getArray() {
84
return {getTrailingObjects<ParamDecl*>(), numParameters};
85
}
0 commit comments