diff --git a/tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp b/tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp index ce21f2d863621..0062067d0932b 100644 --- a/tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp +++ b/tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp @@ -156,6 +156,9 @@ class UIdentVisitor : public ASTVisitor { return Result; } + void visitDecl(Decl *D) { + // FIXME: maybe don't have a default case + } + void visitStructDecl(StructDecl *SD) { auto ResultSD = std::make_shared(); ResultSD->Name = convertToIdentifier(SD->getName());