// TODO see if there is a more elegant solution to selecting the rewrite
// descriptor type
if (!Target.empty())
- DL->push_back(
- make_unique<ExplicitRewriteFunctionDescriptor>(Source, Target, Naked));
+ DL->push_back(llvm::make_unique<ExplicitRewriteFunctionDescriptor>(
+ Source, Target, Naked));
else
DL->push_back(
- make_unique<PatternRewriteFunctionDescriptor>(Source, Transform));
+ llvm::make_unique<PatternRewriteFunctionDescriptor>(Source, Transform));
return true;
}
}
if (!Target.empty())
- DL->push_back(
- make_unique<ExplicitRewriteGlobalVariableDescriptor>(Source, Target,
- /*Naked*/ false));
+ DL->push_back(llvm::make_unique<ExplicitRewriteGlobalVariableDescriptor>(
+ Source, Target,
+ /*Naked*/ false));
else
- DL->push_back(
- make_unique<PatternRewriteGlobalVariableDescriptor>(Source, Transform));
+ DL->push_back(llvm::make_unique<PatternRewriteGlobalVariableDescriptor>(
+ Source, Transform));
return true;
}
}
if (!Target.empty())
- DL->push_back(
- make_unique<ExplicitRewriteNamedAliasDescriptor>(Source, Target,
- /*Naked*/ false));
+ DL->push_back(llvm::make_unique<ExplicitRewriteNamedAliasDescriptor>(
+ Source, Target,
+ /*Naked*/ false));
else
- DL->push_back(
- make_unique<PatternRewriteNamedAliasDescriptor>(Source, Transform));
+ DL->push_back(llvm::make_unique<PatternRewriteNamedAliasDescriptor>(
+ Source, Transform));
return true;
}