[PATCH] D97797: [lld-macho][nfc] Parse more options using getLastArg{Value}
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 4 08:45:47 PST 2021
thakis added inline comments.
================
Comment at: lld/MachO/Driver.cpp:594
-static void handleUndefined(const opt::Arg *arg) {
- StringRef treatmentStr = arg->getValue(0);
----------------
nit: the `handle` prefix is somewhat common for option handling cf eg handleUndefined in the ELF linker
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97797/new/
https://reviews.llvm.org/D97797
More information about the llvm-commits
mailing list