Skip to content

Commit ecea949

Browse files
committed
Revert "[Frontend] Fix build break after 67c82d6"
This reverts commit deff460. Committed this from a different computer with my old (invalid) email address.
1 parent deff460 commit ecea949

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/utils/TableGen/DirectiveEmitter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,9 @@ static void GenerateGetDirectiveAssociation(const DirectiveLanguage &DirLang,
655655
<< "::" << getAssocName(F->second) << ";\n";
656656
}
657657
}
658+
OS << " default:\n";
659+
OS << " llvm_unreachable(\"Unexpected directive\");\n";
658660
OS << " } // switch(Dir)\n";
659-
OS << " llvm_unreachable(\"Unexpected directive\");\n";
660661
OS << "}\n";
661662
}
662663

0 commit comments

Comments
 (0)