summaryrefslogtreecommitdiff
path: root/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
commit624678f806ce9aad97b33220ba86d5ff3b9df577 (patch)
tree3775cd96e4d119e26e87133bc3d5a3dff6e42e26 /lib/IR/Module.cpp
parent1ad46660b4b7434863daab59da42f51b25473194 (diff)
Normalize constructor call syntax, NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Module.cpp')
-rw-r--r--lib/IR/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Module.cpp b/lib/IR/Module.cpp
index fdc7de6eaa3..c230a50044c 100644
--- a/lib/IR/Module.cpp
+++ b/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