mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[swift-parse-test] Remove unused static function
appendToVector was a leftover form earlier development, and not used.
This commit is contained in:
@@ -134,13 +134,6 @@ struct SwiftParserExecutor {
|
||||
}
|
||||
};
|
||||
|
||||
static void appendToVector(void *declPtr, void *vecPtr) {
|
||||
auto vec = static_cast<SmallVectorImpl<ASTNode> *>(vecPtr);
|
||||
auto decl = static_cast<Decl *>(declPtr);
|
||||
|
||||
vec->push_back(decl);
|
||||
}
|
||||
|
||||
struct ASTGenExecutor {
|
||||
constexpr static StringRef name = "ASTGen with SwiftParser";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user