r177184 - Remove unnecessary default in covered switch over enum
David Blaikie
dblaikie at gmail.com
Fri Mar 15 14:12:55 PDT 2013
Author: dblaikie
Date: Fri Mar 15 16:12:54 2013
New Revision: 177184
URL: http://llvm.org/viewvc/llvm-project?rev=177184&view=rev
Log:
Remove unnecessary default in covered switch over enum
This cleans up the Clang -Werror build that was broken by r177180.
Modified:
cfe/trunk/lib/AST/ASTDiagnostic.cpp
Modified: cfe/trunk/lib/AST/ASTDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTDiagnostic.cpp?rev=177184&r1=177183&r2=177184&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTDiagnostic.cpp (original)
+++ cfe/trunk/lib/AST/ASTDiagnostic.cpp Fri Mar 15 16:12:54 2013
@@ -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: {
More information about the cfe-commits
mailing list