diff options
author | Tom Stellard <tstellar@redhat.com> | 2019-11-15 09:21:39 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2019-11-15 09:21:39 -0800 |
commit | 0ec4a87c38da31e5bf68f93e3c9b829cd04bcdfd (patch) | |
tree | dcffd5171f6fdbb6b76701c201029e8d1f028a40 | |
parent | 686a8891ca57463ec0d2f3ae4f732e6259cedc33 (diff) | |
download | llvm-0ec4a87c38da31e5bf68f93e3c9b829cd04bcdfd.zip llvm-0ec4a87c38da31e5bf68f93e3c9b829cd04bcdfd.tar.gz llvm-0ec4a87c38da31e5bf68f93e3c9b829cd04bcdfd.tar.bz2 |
Fix build since b288f7d
This change introduced a use of std::make_unique() which some compilers
reject in c++11 mode.
-rw-r--r-- | llvm/unittests/CodeGen/MachineInstrTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp index f09ea7b..ef0115c 100644 --- a/llvm/unittests/CodeGen/MachineInstrTest.cpp +++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp @@ -140,7 +140,7 @@ private: }; std::unique_ptr<MCContext> createMCContext(MCAsmInfo *AsmInfo) { - return std::make_unique<MCContext>(AsmInfo, nullptr, nullptr, nullptr, false); + return llvm::make_unique<MCContext>(AsmInfo, nullptr, nullptr, nullptr, false); } std::unique_ptr<BogusTargetMachine> createTargetMachine() { |