forked from OSchip/llvm-project
Add an llvm_unreachable back to the autogeneration of this covered switch.
llvm-svn: 262288
This commit is contained in:
parent
9b0a801797
commit
5d7cf778e4
|
@ -2294,7 +2294,8 @@ void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS) {
|
|||
<< " return getDerived().Traverse" << R.getName() << "Attr("
|
||||
<< "cast<" << R.getName() << "Attr>(A));\n";
|
||||
}
|
||||
OS << " }\n"; // end case
|
||||
OS << " }\n"; // end switch
|
||||
OS << " llvm_unreachable(\"bad attribute kind\");\n";
|
||||
OS << "}\n"; // end function
|
||||
OS << "#endif // ATTR_VISITOR_DECLS_ONLY\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue