mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix documentation of MachineInstr::getNumOperands
The documentation stated "Access to explicit operands of the instruction." This is misleading, as it also lists implicit operands. Patch by Philip Ginsbach. Differential Revision: https://reviews.llvm.org/D35481 llvm-svn: 344338
This commit is contained in:
parent
e25753afd0
commit
cdf7a38fbb
@ -408,7 +408,7 @@ public:
|
||||
/// Returns the opcode of this MachineInstr.
|
||||
unsigned getOpcode() const { return MCID->Opcode; }
|
||||
|
||||
/// Access to explicit operands of the instruction.
|
||||
/// Retuns the total number of operands.
|
||||
unsigned getNumOperands() const { return NumOperands; }
|
||||
|
||||
const MachineOperand& getOperand(unsigned i) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user