From 454d5b3ab316331b621b37d7c8b86db9f7d33fcc Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 15 Mar 2013 21:12:54 +0000 Subject: [PATCH] Remove unnecessary default in covered switch over enum This cleans up the Clang -Werror build that was broken by r177180. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177184 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ASTDiagnostic.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/AST/ASTDiagnostic.cpp b/lib/AST/ASTDiagnostic.cpp index 92d656eb06..d4c96cf01e 100644 --- a/lib/AST/ASTDiagnostic.cpp +++ b/lib/AST/ASTDiagnostic.cpp @@ -1132,7 +1132,6 @@ class TemplateDiff { // Handle cases where the difference is not templates with different // arguments. switch (Tree.GetKind()) { - default: case DiffTree::Invalid: llvm_unreachable("Template diffing failed with bad DiffNode"); case DiffTree::Type: { -- 2.40.0