diff options
Diffstat (limited to 'llvm/unittests/DebugInfo')
4 files changed, 9 insertions, 9 deletions
diff --git a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp index ff01ef7e739..7a4000d9613 100644 --- a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp +++ b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp @@ -88,7 +88,7 @@ public: RandomAccessVisitorTest() {} static void SetUpTestCase() { - GlobalState = llvm::make_unique<GlobalTestState>(); + GlobalState = std::make_unique<GlobalTestState>(); AppendingTypeTableBuilder Builder(GlobalState->Allocator); @@ -120,7 +120,7 @@ public: static void TearDownTestCase() { GlobalState.reset(); } void SetUp() override { - TestState = llvm::make_unique<PerTestState>(); + TestState = std::make_unique<PerTestState>(); } void TearDown() override { TestState.reset(); } diff --git a/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp b/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp index d011db9fcd4..e00240d7427 100644 --- a/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp +++ b/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp @@ -25,8 +25,8 @@ public: void SetUp() override { Refs.clear(); - TTB = make_unique<AppendingTypeTableBuilder>(Storage); - CRB = make_unique<ContinuationRecordBuilder>(); + TTB = std::make_unique<AppendingTypeTableBuilder>(Storage); + CRB = std::make_unique<ContinuationRecordBuilder>(); Symbols.clear(); } diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp index d2c0f3c3b20..2e062e8fe96 100644 --- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp @@ -446,7 +446,7 @@ llvm::Error dwarfgen::Generator::init(Triple TheTriple, uint16_t V) { return make_error<StringError>("no code emitter for target " + TripleName, inconvertibleErrorCode()); - Stream = make_unique<raw_svector_ostream>(FileBytes); + Stream = std::make_unique<raw_svector_ostream>(FileBytes); MS = TheTarget->createMCObjectStreamer( TheTriple, *MC, std::unique_ptr<MCAsmBackend>(MAB), @@ -469,7 +469,7 @@ llvm::Error dwarfgen::Generator::init(Triple TheTriple, uint16_t V) { MC->setDwarfVersion(Version); Asm->setDwarfVersion(Version); - StringPool = llvm::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef()); + StringPool = std::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef()); StringOffsetsStartSym = Asm->createTempSymbol("str_offsets_base"); return Error::success(); @@ -541,12 +541,12 @@ bool dwarfgen::Generator::saveFile(StringRef Path) { dwarfgen::CompileUnit &dwarfgen::Generator::addCompileUnit() { CompileUnits.push_back( - make_unique<CompileUnit>(*this, Version, Asm->getPointerSize())); + std::make_unique<CompileUnit>(*this, Version, Asm->getPointerSize())); return *CompileUnits.back(); } dwarfgen::LineTable &dwarfgen::Generator::addLineTable(DwarfFormat Format) { LineTables.push_back( - make_unique<LineTable>(Version, Format, Asm->getPointerSize())); + std::make_unique<LineTable>(Version, Format, Asm->getPointerSize())); return *LineTables.back(); } diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index 766f54d5206..f48e8379046 100644 --- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -464,7 +464,7 @@ private: std::unique_ptr<IPDBSession> Session; void InsertItemWithTag(PDB_SymType Tag) { - auto RawSymbol = llvm::make_unique<MockRawSymbol>(Tag); + auto RawSymbol = std::make_unique<MockRawSymbol>(Tag); auto Symbol = PDBSymbol::create(*Session, std::move(RawSymbol)); SymbolMap.insert(std::make_pair(Tag, std::move(Symbol))); } |