summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-10 23:46:48 +0000
committerZachary Turner <zturner@google.com>2015-02-10 23:46:48 +0000
commitbe6d1e49b0c58b5a28f0c8ca1e536c1157ca5666 (patch)
treeb7b687c0fcedc06fa897907680ac304367ee0a12 /llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
parent08fc9e9158174f841b3e2360ff96fc9ca7c595ec (diff)
downloadbcm5719-llvm-be6d1e49b0c58b5a28f0c8ca1e536c1157ca5666.tar.gz
bcm5719-llvm-be6d1e49b0c58b5a28f0c8ca1e536c1157ca5666.zip
Convert std::make_unique<> to llvm::make_unique<>.
llvm-svn: 228768
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
index 1917097c783..ba2024b36f6 100644
--- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
@@ -7,9 +7,9 @@
//
//===----------------------------------------------------------------------===//
-#include <memory>
#include <unordered_map>
+#include "llvm/ADT/STLExtras.h"
#include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
#include "llvm/DebugInfo/PDB/IPDBSession.h"
@@ -339,7 +339,7 @@ private:
std::unique_ptr<IPDBSession> Session;
void InsertItemWithTag(PDB_SymType Tag) {
- auto RawSymbol = std::make_unique<MockRawSymbol>(*Session, Tag);
+ auto RawSymbol = llvm::make_unique<MockRawSymbol>(*Session, Tag);
auto Symbol = PDBSymbol::create(*Session, std::move(RawSymbol));
SymbolMap.insert(std::make_pair(Tag, std::move(Symbol)));
}
OpenPOWER on IntegriCloud