[PATCH] D79668: [lld-macho] Support -order_file
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 19 13:44:37 PDT 2020
smeenai added inline comments.
================
Comment at: lld/MachO/Driver.cpp:182
+ case 2:
+ (isArchString(fields[0]) ? arch : objectFile) = fields[0];
+ symbol = fields[1];
----------------
Hah, a ternary operator as an lvalue ... neat. It's been a long time since I've seen that.
Useless language trivia: ternary operators can only be lvalues in C++, not C.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79668/new/
https://reviews.llvm.org/D79668
More information about the llvm-commits
mailing list