From: David Blaikie Date: Fri, 15 Mar 2013 21:12:54 +0000 (+0000) Subject: Remove unnecessary default in covered switch over enum X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=454d5b3ab316331b621b37d7c8b86db9f7d33fcc;p=clang 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 --- 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: {