diff options
author | Tobias Stadler <mail@stadler-tobias.de> | 2025-09-15 16:22:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 16:22:00 +0200 |
commit | c723cc2a041d6e7e741b0ce6abc1f18d4ada9b4a (patch) | |
tree | 85212812f4d7976651eb28f70432997ae10e75f7 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5e118eca93ad7591c7b904a160d4d42cd37903c5 (diff) | |
download | llvm-c723cc2a041d6e7e741b0ce6abc1f18d4ada9b4a.zip llvm-c723cc2a041d6e7e741b0ce6abc1f18d4ada9b4a.tar.gz llvm-c723cc2a041d6e7e741b0ce6abc1f18d4ada9b4a.tar.bz2 |
[Remarks] BitstreamRemarkParser: Refactor error handling (#156511)
In preparation of larger changes to the bitstream remark format,
refactor the error handling code in the BitstreamRemarkParser.
Main change: move the various static helper methods into the parser
helper classes, so we don't need to pass around as many args. Calling
`error(...)` inside the helper classes now automatically prepends the
current block being parsed to the error message.
NFCI (except for error messages on invalid bitstream files).
Pull Request: https://github.com/llvm/llvm-project/pull/156511
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions