swift
29172545 - [runtime] Tidy up symbol table patching to satisfy with upstream Clang

Commit
6 years ago
[runtime] Tidy up symbol table patching to satisfy with upstream Clang 'const T *' isn't compatible with a function pointer, so upstream Clang complained about the 'patch_t' convenience constructor we were using. It's not like we need general functionality or convenience here, so just pass the members of the patch_t type separately and without any templating, and drop it entirely. No functionality change.
Author
Committer
Parents
  • stdlib/public/runtime
    • File
      ObjCRuntimeGetImageNameFromClass.cpp