Replace a temporary node with a distinct one.
Synopsis
Declared in <llvm/IR/Metadata.h>
template<class T>
static
T*
replaceWithDistinct(std::unique_ptr<T, TempMDNodeDeleter> N)
requires std::is_base_of<MDNode, T>::value;
Description
Create a distinct version of N ‐‐ in place, if possible ‐‐ and return it. Takes ownership of the temporary node.
Return Value
A distinct replacement for temporary node N.
Parameters
Name |
Description |
N |
Temporary node to make distinct. |
Created with MrDocs