From 0916efc232599da451a385fc8940a521f6d0c89f Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Fri, 12 Oct 2018 17:55:21 +0000 Subject: [PATCH] Disambiguate: s/make_unique/llvm::make_unique/. NFC llvm-svn: 344385 --- llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp b/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp index 44484c2..5afd2c9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp @@ -68,24 +68,24 @@ std::unique_ptr Die2BTFEntry::dieToBTFTypeEntry(const DIE &Die) { switch (Kind) { case BTF_KIND_INT: - return make_unique(Die); + return llvm::make_unique(Die); case BTF_KIND_PTR: case BTF_KIND_TYPEDEF: case BTF_KIND_VOLATILE: case BTF_KIND_CONST: case BTF_KIND_RESTRICT: case BTF_KIND_FWD: - return make_unique(Die); + return llvm::make_unique(Die); case BTF_KIND_ARRAY: - return make_unique(Die); + return llvm::make_unique(Die); case BTF_KIND_STRUCT: case BTF_KIND_UNION: - return make_unique(Die); + return llvm::make_unique(Die); case BTF_KIND_ENUM: - return make_unique(Die); + return llvm::make_unique(Die); case BTF_KIND_FUNC: case BTF_KIND_FUNC_PROTO: - return make_unique(Die); + return llvm::make_unique(Die); default: break; } @@ -181,7 +181,7 @@ void Die2BTFEntry::completeData(class Dwarf2BTF &Dwarf2BTF) { BTFType.name_off = Dwarf2BTF.addBTFString(Str); } - auto typeEntry = make_unique(Id, BTFType); + auto typeEntry = llvm::make_unique(Id, BTFType); Dwarf2BTF.addBTFTypeEntry(std::move(typeEntry)); } @@ -230,7 +230,7 @@ void Die2BTFEntryInt::completeData(class Dwarf2BTF &Dwarf2BTF) { BTFType.name_off = Dwarf2BTF.addBTFString(Str); - auto typeEntry = make_unique(Id, BTFType, IntVal); + auto typeEntry = llvm::make_unique(Id, BTFType, IntVal); Dwarf2BTF.addBTFTypeEntry(std::move(typeEntry)); } @@ -270,7 +270,7 @@ void Die2BTFEntryEnum::completeData(class Dwarf2BTF &Dwarf2BTF) { EnumValues.push_back(BTFEnum); } - auto typeEntry = make_unique(Id, BTFType, EnumValues); + auto typeEntry = llvm::make_unique(Id, BTFType, EnumValues); Dwarf2BTF.addBTFTypeEntry(std::move(typeEntry)); } @@ -313,7 +313,7 @@ void Die2BTFEntryArray::completeData(class Dwarf2BTF &Dwarf2BTF) { } ArrayInfo.nelems = Nelems; - auto TypeEntry = make_unique(Id, BTFType, ArrayInfo); + auto TypeEntry = llvm::make_unique(Id, BTFType, ArrayInfo); Dwarf2BTF.addBTFTypeEntry(std::move(TypeEntry)); } @@ -378,7 +378,7 @@ void Die2BTFEntryStruct::completeData(class Dwarf2BTF &Dwarf2BTF) { Members.push_back(BTFMember); } - auto typeEntry = make_unique(Id, BTFType, Members); + auto typeEntry = llvm::make_unique(Id, BTFType, Members); Dwarf2BTF.addBTFTypeEntry(std::move(typeEntry)); } @@ -428,7 +428,7 @@ void Die2BTFEntryFunc::completeData(class Dwarf2BTF &Dwarf2BTF) { } } - auto typeEntry = make_unique(Id, BTFType, Parameters); + auto typeEntry = llvm::make_unique(Id, BTFType, Parameters); Dwarf2BTF.addBTFTypeEntry(std::move(typeEntry)); if (BTF_INFO_KIND(BTFType.info) == BTF_KIND_FUNC) { @@ -455,7 +455,7 @@ void Die2BTFEntryFunc::completeData(class Dwarf2BTF &Dwarf2BTF) { Dwarf2BTF::Dwarf2BTF(MCContext &Context, bool IsLittleEndian) : OuterCtx(Context), IsLE(IsLittleEndian) { - BTFContext = make_unique(); + BTFContext = llvm::make_unique(); } void Dwarf2BTF::addTypeEntry(const DIE &Die) { -- 2.7.4