summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-17 02:30:50 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-17 02:30:50 +0000
commit561d3abc881033776ece385a01a510e1cbc1fa92 (patch)
treea80145468cfab3a1d501d747beb91214dbd4b88c /utils
parent5e192a7d60e776fa65e633cd9c2a0d59df132f23 (diff)
Remove unnecessary default cases in switches over enums.
This allows -Wswitch-enum to find switches that need updating when these enums are modified. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/TableGen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index 56b28db4e2..1d5e28d936 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -156,9 +156,6 @@ public:
case GenArmNeonTest:
NeonEmitter(Records).runTests(OS);
break;
- default:
- assert(1 && "Invalid Action");
- return true;
}
return false;