aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2021-07-12 15:05:12 +0100
committerSimon Tatham <simon.tatham@arm.com>2021-07-12 15:07:03 +0100
commite49985bb6065d4f5ea69fe578e326ec6d43a6b24 (patch)
tree231cc39ec1ab5c736e871fe4fe7e82cc0fdab3a9 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent1af97c9d0b02002586473b4b9845b0c390504a27 (diff)
downloadllvm-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