[PATCH] D35481: Fix documentation of MachineInstr::getNumOperands
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 12 05:29:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL344338: Fix documentation of MachineInstr::getNumOperands (authored by sam_parker, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D35481?vs=168786&id=169378#toc
Repository:
rL LLVM
https://reviews.llvm.org/D35481
Files:
llvm/trunk/include/llvm/CodeGen/MachineInstr.h
Index: llvm/trunk/include/llvm/CodeGen/MachineInstr.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineInstr.h
+++ llvm/trunk/include/llvm/CodeGen/MachineInstr.h
@@ -408,7 +408,7 @@
/// 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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35481.169378.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/1bece7a9/attachment.bin>
More information about the llvm-commits
mailing list