[llvm] [LLVM][AsmParser] Make error reporting of lexer errors more precise (PR #111077)
    Rahul Joshi via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Oct  7 05:52:30 PDT 2024
    
    
  
================
@@ -66,8 +79,13 @@ namespace llvm {
       IgnoreColonInIdentifiers = val;
     }
 
-    bool Error(LocTy ErrorLoc, const Twine &Msg) const;
-    bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); }
+    // This returns true as a convienence for the parser functions that return
----------------
jurahul wrote:
Done
https://github.com/llvm/llvm-project/pull/111077
    
    
More information about the llvm-commits
mailing list