mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Convert std::make_unique<> to llvm::make_unique<>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user