forked from OSchip/llvm-project
Normalize constructor call syntax, NFCI.
llvm-svn: 308275
This commit is contained in:
parent
ddc38722a4
commit
ad9bbc20b3
llvm/lib/IR
|
@ -103,7 +103,7 @@ std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const {
|
||||||
// store salt metadata from the Module constructor.
|
// store salt metadata from the Module constructor.
|
||||||
Salt += sys::path::filename(getModuleIdentifier());
|
Salt += sys::path::filename(getModuleIdentifier());
|
||||||
|
|
||||||
return std::unique_ptr<RandomNumberGenerator>{new RandomNumberGenerator(Salt)};
|
return std::unique_ptr<RandomNumberGenerator>(new RandomNumberGenerator(Salt));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getNamedValue - Return the first global value in the module with
|
/// getNamedValue - Return the first global value in the module with
|
||||||
|
|
Loading…
Reference in New Issue