mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
[C++11] Replace OwningPtr with std::unique_ptr in places where it doesn't break the API.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "AMDGPUSubtarget.h"
|
||||
#include "AMDILIntrinsicInfo.h"
|
||||
#include "R600ISelLowering.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
|
||||
namespace llvm {
|
||||
@@ -31,8 +30,8 @@ class AMDGPUTargetMachine : public LLVMTargetMachine {
|
||||
const DataLayout Layout;
|
||||
AMDGPUFrameLowering FrameLowering;
|
||||
AMDGPUIntrinsicInfo IntrinsicInfo;
|
||||
OwningPtr<AMDGPUInstrInfo> InstrInfo;
|
||||
OwningPtr<AMDGPUTargetLowering> TLInfo;
|
||||
std::unique_ptr<AMDGPUInstrInfo> InstrInfo;
|
||||
std::unique_ptr<AMDGPUTargetLowering> TLInfo;
|
||||
const InstrItineraryData *InstrItins;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user