summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/TableGen.cpp
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
commitf47fa304a4ee7ab0db34210b7043743cc4dd3b8b (patch)
treed898d1fd590a170b2fb70f09907d8002943555e9 /clang/utils/TableGen/TableGen.cpp
parent5c93906cbf7999664986ab7c983ce6e61d1b09ee (diff)
downloadbcm5719-llvm-f47fa304a4ee7ab0db34210b7043743cc4dd3b8b.tar.gz
bcm5719-llvm-f47fa304a4ee7ab0db34210b7043743cc4dd3b8b.zip
Remove unnecessary default cases in switches over enums.
This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
Diffstat (limited to 'clang/utils/TableGen/TableGen.cpp')
-rw-r--r--clang/utils/TableGen/TableGen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/utils/TableGen/TableGen.cpp b/clang/utils/TableGen/TableGen.cpp
index 56b28db4e28..1d5e28d936f 100644
--- a/clang/utils/TableGen/TableGen.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud