Fixed a number of -Wcovered-switch-default diagnostics in tools/clang/include/clang/AST/AttrDump.inc

llvm-svn: 171768
This commit is contained in:
Alexander Kornienko 2013-01-07 19:09:15 +00:00
parent 48e75f7e48
commit 9569c7625a
1 changed files with 0 additions and 5 deletions

View File

@ -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";