diff options
-rw-r--r-- | utils/TableGen/ClangAttrEmitter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/TableGen/ClangAttrEmitter.cpp b/utils/TableGen/ClangAttrEmitter.cpp index 3651636e95..395347c122 100644 --- a/utils/TableGen/ClangAttrEmitter.cpp +++ b/utils/TableGen/ClangAttrEmitter.cpp @@ -549,11 +549,6 @@ namespace { } void writeDump(raw_ostream &OS) const { OS << " switch(SA->get" << getUpperName() << "()) {\n"; - OS << " default:\n"; - OS << " llvm_unreachable(\"Unknown " << getAttrName() << "Attr::" - << type << "!\");\n"; - OS << " break;\n"; - for (std::vector<StringRef>::const_iterator I = uniques.begin(), E = uniques.end(); I != E; ++I) { OS << " case " << getAttrName() << "Attr::" << *I << ":\n"; |