mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove unnecessary 'visitDecl' default cases.
The default cases are unnecessary and provide no benefits so they should just be removed.
This commit is contained in:
@@ -781,10 +781,6 @@ public:
|
||||
return Result;
|
||||
}
|
||||
|
||||
void visitDecl(Decl *D) {
|
||||
// FIXME: maybe don't have a default case
|
||||
}
|
||||
|
||||
void visitStructDecl(StructDecl *SD) {
|
||||
auto ResultSD = std::make_shared<sma::StructDecl>();
|
||||
ResultSD->Name = convertToIdentifier(SD->getName());
|
||||
|
||||
Reference in New Issue
Block a user