summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/MC/MCSection.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/MC/MCSection.h')
-rw-r--r--llvm/include/llvm/MC/MCSection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCSection.h b/llvm/include/llvm/MC/MCSection.h
index 5ca83398bd0..2e155bbc325 100644
--- a/llvm/include/llvm/MC/MCSection.h
+++ b/llvm/include/llvm/MC/MCSection.h
@@ -210,6 +210,11 @@ public:
return const_cast<MCSection *>(this)->end();
}
+ MCSectionData::reverse_iterator rbegin();
+ MCSectionData::const_reverse_iterator rbegin() const {
+ return const_cast<MCSection *>(this)->rbegin();
+ }
+
MCSectionData::reverse_iterator rend();
MCSectionData::const_reverse_iterator rend() const {
return const_cast<MCSection *>(this)->rend();
OpenPOWER on IntegriCloud