Skip to content

Commit fe67885

Browse files
authored
Merge pull request #69831 from rintaro/parse_test_appendtovector
[swift-parse-test] Remove unused static function
2 parents db7a400 + 636df87 commit fe67885

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/DriverTool/swift_parse_test_main.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@ struct SwiftParserExecutor {
134134
}
135135
};
136136

137-
static void appendToVector(void *declPtr, void *vecPtr) {
138-
auto vec = static_cast<SmallVectorImpl<ASTNode> *>(vecPtr);
139-
auto decl = static_cast<Decl *>(declPtr);
140-
141-
vec->push_back(decl);
142-
}
143-
144137
struct ASTGenExecutor {
145138
constexpr static StringRef name = "ASTGen with SwiftParser";
146139

0 commit comments

Comments
 (0)