diff options
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; } |
