summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2017-07-18 08:36:22 +0000
committerSerge Guelton <sguelton@quarkslab.com>2017-07-18 08:36:22 +0000
commitad9bbc20b38c6b87531e0dc7e5f6c049adfe3c80 (patch)
tree69cab18a19e6e4358ea759861cc8bc2f4fcb45f8 /llvm/lib/IR/Module.cpp
parentddc38722a4cea89d908d38eb441b5ea4ec995055 (diff)
downloadbcm5719-llvm-ad9bbc20b38c6b87531e0dc7e5f6c049adfe3c80.tar.gz
bcm5719-llvm-ad9bbc20b38c6b87531e0dc7e5f6c049adfe3c80.zip
Normalize constructor call syntax, NFCI.
llvm-svn: 308275
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r--llvm/lib/IR/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index fdc7de6eaa3..c230a50044c 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -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
OpenPOWER on IntegriCloud