[llvm] 2359656 - [MC] Remove MCInstrDesc::opInfo_begin/end, unused since D142213

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 05:42:55 PST 2023


Author: Jay Foad
Date: 2023-01-25T13:42:49Z
New Revision: 2359656e8c5e3159aaf5cd23f13a66e8e461cc7c

URL: https://github.com/llvm/llvm-project/commit/2359656e8c5e3159aaf5cd23f13a66e8e461cc7c
DIFF: https://github.com/llvm/llvm-project/commit/2359656e8c5e3159aaf5cd23f13a66e8e461cc7c.diff

LOG: [MC] Remove MCInstrDesc::opInfo_begin/end, unused since D142213

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCInstrDesc.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCInstrDesc.h b/llvm/include/llvm/MC/MCInstrDesc.h
index 7719cd0815307..94350572412cb 100644
--- a/llvm/include/llvm/MC/MCInstrDesc.h
+++ b/llvm/include/llvm/MC/MCInstrDesc.h
@@ -236,11 +236,6 @@ class MCInstrDesc {
   /// well.
   unsigned getNumOperands() const { return NumOperands; }
 
-  using const_opInfo_iterator = const MCOperandInfo *;
-
-  const_opInfo_iterator opInfo_begin() const { return OpInfo; }
-  const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; }
-
   ArrayRef<MCOperandInfo> operands() const {
     return ArrayRef(OpInfo, NumOperands);
   }


        


More information about the llvm-commits mailing list