[llvm] [TableGen] Use assert instead of PrintFatalError in TGLexer. NFC. (PR #122303)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 07:54:28 PST 2025


================
@@ -664,11 +663,10 @@ bool TGLexer::prepExitInclude(bool IncludeStackMustBeEmpty) {
   PrepIncludeStack.pop_back();
 
   if (IncludeStackMustBeEmpty) {
----------------
jayfoad wrote:

Yeah, I wasn't sure how far to go with cleanups like that in this patch.

https://github.com/llvm/llvm-project/pull/122303


More information about the llvm-commits mailing list