diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-15 21:12:54 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-15 21:12:54 +0000 |
commit | 454d5b3ab316331b621b37d7c8b86db9f7d33fcc (patch) | |
tree | ea2409c4947a73635f748c5f1b2ed23c38e6ed21 | |
parent | e738fc5145984235a8f084077791271c4d266236 (diff) |
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
-rw-r--r-- | lib/AST/ASTDiagnostic.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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: { |