mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 03:28:31 +00:00
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c66cdf74a9
commit
5af58d885e
@ -36,7 +36,7 @@ class CalleeSavedInfo {
|
||||
int FrameIdx;
|
||||
|
||||
public:
|
||||
CalleeSavedInfo(unsigned R, int FI = 0)
|
||||
explicit CalleeSavedInfo(unsigned R, int FI = 0)
|
||||
: Reg(R), FrameIdx(FI) {}
|
||||
|
||||
// Accessors.
|
||||
|
@ -74,7 +74,7 @@ private:
|
||||
JTEntryKind EntryKind;
|
||||
std::vector<MachineJumpTableEntry> JumpTables;
|
||||
public:
|
||||
MachineJumpTableInfo(JTEntryKind Kind): EntryKind(Kind) {}
|
||||
explicit MachineJumpTableInfo(JTEntryKind Kind): EntryKind(Kind) {}
|
||||
|
||||
JTEntryKind getEntryKind() const { return EntryKind; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user