[PATCH] D99693: Update the linkage name of coro-split functions where applicable
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 17:07:03 PDT 2021
kastiglione added inline comments.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroSplit.cpp:866
+ // linkage name and asserts that they are identical.
+ if (!SP->getDeclaration())
+ SP->replaceLinkageName(MDString::get(Context, NewF->getName()));
----------------
Is `!SP->getDeclaration()` the implicit check for swift but not C++?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99693/new/
https://reviews.llvm.org/D99693
More information about the llvm-commits
mailing list