We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25cf89 commit 987e7e4Copy full SHA for 987e7e4
libclc/utils/libclc-remangler/LibclcRemangler.cpp
@@ -978,6 +978,7 @@ class LibCLCRemangler : public ASTConsumer {
978
// Drop unuseful clone of the original or remangled function.
979
Func->replaceAllUsesWith(ConstantPointerNull::get(Func->getType()));
980
ToErase.push_back(Func);
981
+ Func->setName("");
982
} else {
983
// Name doesn't exist in the original module. Drop unuseful clone of
984
// remangled function.
0 commit comments