diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 |
| commit | 044eb2f6afba375a914ac9d8024f8f5142bb912e (patch) | |
| tree | 1475247dc9f9fe5be155ebd4c9069c75aadf8c20 /lib/Target/AArch64/AArch64MachineFunctionInfo.h | |
| parent | eb70dddbd77e120e5d490bd8fbe7ff3f8fa81c6b (diff) | |
Notes
Diffstat (limited to 'lib/Target/AArch64/AArch64MachineFunctionInfo.h')
| -rw-r--r-- | lib/Target/AArch64/AArch64MachineFunctionInfo.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/Target/AArch64/AArch64MachineFunctionInfo.h b/lib/Target/AArch64/AArch64MachineFunctionInfo.h index f0bffe544158..9f354c009461 100644 --- a/lib/Target/AArch64/AArch64MachineFunctionInfo.h +++ b/lib/Target/AArch64/AArch64MachineFunctionInfo.h @@ -23,6 +23,8 @@ namespace llvm { +class MachineInstr; + /// AArch64FunctionInfo - This class is derived from MachineFunctionInfo and /// contains private AArch64-specific information for each MachineFunction. class AArch64FunctionInfo final : public MachineFunctionInfo { @@ -145,7 +147,7 @@ public: unsigned getVarArgsFPRSize() const { return VarArgsFPRSize; } void setVarArgsFPRSize(unsigned Size) { VarArgsFPRSize = Size; } - typedef SmallPtrSet<const MachineInstr *, 16> SetOfInstructions; + using SetOfInstructions = SmallPtrSet<const MachineInstr *, 16>; const SetOfInstructions &getLOHRelated() const { return LOHRelated; } @@ -157,7 +159,7 @@ public: SmallVector<const MachineInstr *, 3> Args; public: - typedef ArrayRef<const MachineInstr *> LOHArgs; + using LOHArgs = ArrayRef<const MachineInstr *>; MILOHDirective(MCLOHType Kind, LOHArgs Args) : Kind(Kind), Args(Args.begin(), Args.end()) { @@ -168,8 +170,8 @@ public: LOHArgs getArgs() const { return Args; } }; - typedef MILOHDirective::LOHArgs MILOHArgs; - typedef SmallVector<MILOHDirective, 32> MILOHContainer; + using MILOHArgs = MILOHDirective::LOHArgs; + using MILOHContainer = SmallVector<MILOHDirective, 32>; const MILOHContainer &getLOHContainer() const { return LOHContainerSet; } |
