mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove the default handle-all Decl and DeclAttribute
cases from ASTVisitor and privatize SILGen's statement emitter. NFC. Swift SVN r26402
This commit is contained in:
@@ -781,6 +781,10 @@ 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