mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 02:43:51 +00:00
Add explicit keywords.
llvm-svn: 106300
This commit is contained in:
parent
a441c8fd45
commit
b220af45eb
@ -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…
x
Reference in New Issue
Block a user