From 624678f806ce9aad97b33220ba86d5ff3b9df577 Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Tue, 18 Jul 2017 08:36:22 +0000 Subject: Normalize constructor call syntax, NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308275 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/IR/Module.cpp') 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 Module::createRNG(const Pass* P) const { // store salt metadata from the Module constructor. Salt += sys::path::filename(getModuleIdentifier()); - return std::unique_ptr{new RandomNumberGenerator(Salt)}; + return std::unique_ptr(new RandomNumberGenerator(Salt)); } /// getNamedValue - Return the first global value in the module with -- cgit v1.2.3