[llvm] [TableGen] Add PrintError family overload that take a print function (PR #107333)
    Tomas Matheson via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Sep  6 05:52:53 PDT 2024
    
    
  
================
@@ -40,12 +40,22 @@ static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
                         "instantiated from multiclass");
 }
 
+[[noreturn]] inline static void exit() {
----------------
tmatheson-arm wrote:
Please could you pick a more descriptive name than `exit`, something that hints at what it does.
https://github.com/llvm/llvm-project/pull/107333
    
    
More information about the llvm-commits
mailing list