diff options
author | Simon Tatham <simon.tatham@arm.com> | 2021-07-12 15:05:12 +0100 |
---|---|---|
committer | Simon Tatham <simon.tatham@arm.com> | 2021-07-12 15:07:03 +0100 |
commit | e49985bb6065d4f5ea69fe578e326ec6d43a6b24 (patch) | |
tree | 231cc39ec1ab5c736e871fe4fe7e82cc0fdab3a9 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 1af97c9d0b02002586473b4b9845b0c390504a27 (diff) | |
download | llvm-e49985bb6065d4f5ea69fe578e326ec6d43a6b24.zip llvm-e49985bb6065d4f5ea69fe578e326ec6d43a6b24.tar.gz llvm-e49985bb6065d4f5ea69fe578e326ec6d43a6b24.tar.bz2 |
Remove unused parameter from parseMSInlineAsm.
No implementation uses the `LocCookie` parameter at all. Errors are
reported from inside that function by `llvm::SourceMgr`, and the
instance of that at the clang call site arranges to pass the error
messages back to a `ClangAsmParserCallback`, which is where the clang
SourceLocation for the error is computed.
(This is part of a patch series working towards the ability to make
SourceLocation into a 64-bit type to handle larger translation units.
But this particular change seems beneficial in its own right.)
Reviewed By: miyuki
Differential Revision: https://reviews.llvm.org/D105490
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions