Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@ class UIdentVisitor : public ASTVisitor<UIdentVisitor,
public:
explicit UIdentVisitor(bool IsRef) : IsRef(IsRef) { }

/// TODO: reconsider whether having a default case is a good idea.
UIdent visitDecl(const Decl *D) { return UIdent(); }

UIdent visitFuncDecl(const FuncDecl *D);
UIdent visitVarDecl(const VarDecl *D);
UIdent visitExtensionDecl(const ExtensionDecl *D);
Expand Down
4 changes: 0 additions & 4 deletions tools/swift-ide-test/ModuleAPIDiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,10 +781,6 @@ class SMAModelGenerator : public DeclVisitor<SMAModelGenerator> {
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());
Expand Down