[llvm] [LLVM][AsmParser] Make error reporting of lexer errors more precise (PR #111077)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 01:41:46 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
----------------
arsenm wrote:
```suggestion
// This returns true as a convenience for the parser functions that return
```
https://github.com/llvm/llvm-project/pull/111077
More information about the llvm-commits
mailing list