forked from OSchip/llvm-project
Fixed a number of -Wcovered-switch-default diagnostics in tools/clang/include/clang/AST/AttrDump.inc
llvm-svn: 171768
This commit is contained in:
parent
48e75f7e48
commit
9569c7625a
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue