From d72c4e0475ec1c8d6ad352bcd478501df42d59f9 Mon Sep 17 00:00:00 2001 From: Ben Brewer Date: Thu, 20 Aug 2015 16:59:30 +0100 Subject: Fix misc. compiler warnings --- include/flang/AST/TypeVisitor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/flang/AST/TypeVisitor.h') diff --git a/include/flang/AST/TypeVisitor.h b/include/flang/AST/TypeVisitor.h index 42d8bad4f2..14cd11f80e 100644 --- a/include/flang/AST/TypeVisitor.h +++ b/include/flang/AST/TypeVisitor.h @@ -42,6 +42,7 @@ public: switch (T->getTypeClass()) { #define TYPE(Class, Parent) case Type::Class: DISPATCH(Class##Type, Class##Type); #include "flang/AST/TypeNodes.def" + default: break; } llvm_unreachable("Unknown type class!"); } -- cgit v1.2.1