1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Normalize constructor call syntax, NFCI.

llvm-svn: 308275
This commit is contained in:
Serge Guelton 2017-07-18 08:36:22 +00:00
parent bd4af459b0
commit a8ca1a5921

View File

@ -103,7 +103,7 @@ std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const {
// store salt metadata from the Module constructor.
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