[PATCH] D125250: [lld/macho] Fixes the -ObjC flag

Tapan Thaker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 15:52:31 PDT 2022


tt added inline comments.


================
Comment at: lld/MachO/ObjC.cpp:41
+
+      const StringRef swiftSectName(
+          section_names::swift,
----------------
keith wrote:
> Do you need this? it seems like using `section_names::swift` in the `startswith` below works as well?
Whoops, yes don't need this. Autocomplete didn't suggest me `startswith` with a cstring. I guess autocomplete doesn't suggest me functions when there are implicit conversations. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125250/new/

https://reviews.llvm.org/D125250



More information about the llvm-commits mailing list