[llvm] abbb24b - MCSection: Remove unused reverse iterators

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 17:54:56 PDT 2024


Author: Fangrui Song
Date: 2024-06-10T17:54:52-07:00
New Revision: abbb24b0f3e33387461eba717de2c7296b0a19a6

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

LOG: MCSection: Remove unused reverse iterators

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCSection.h b/llvm/include/llvm/MC/MCSection.h
index 90effde5bb670..aa648e97e2238 100644
--- a/llvm/include/llvm/MC/MCSection.h
+++ b/llvm/include/llvm/MC/MCSection.h
@@ -63,9 +63,6 @@ class MCSection {
   using const_iterator = FragmentListType::const_iterator;
   using iterator = FragmentListType::iterator;
 
-  using const_reverse_iterator = FragmentListType::const_reverse_iterator;
-  using reverse_iterator = FragmentListType::reverse_iterator;
-
 private:
   MCSymbol *Begin;
   MCSymbol *End = nullptr;


        


More information about the llvm-commits mailing list