[llvm] r238330 - Delete dead code. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Wed May 27 07:55:09 PDT 2015
Author: rafael
Date: Wed May 27 09:55:09 2015
New Revision: 238330
URL: http://llvm.org/viewvc/llvm-project?rev=238330&view=rev
Log:
Delete dead code. NFC.
Modified:
llvm/trunk/include/llvm/MC/MCSection.h
llvm/trunk/lib/MC/MCSection.cpp
Modified: llvm/trunk/include/llvm/MC/MCSection.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSection.h?rev=238330&r1=238329&r2=238330&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCSection.h (original)
+++ llvm/trunk/include/llvm/MC/MCSection.h Wed May 27 09:55:09 2015
@@ -93,10 +93,6 @@ public:
return const_cast<MCSectionData *>(this)->rend();
}
- size_t size() const;
-
- bool empty() const;
-
void dump();
/// @}
Modified: llvm/trunk/lib/MC/MCSection.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCSection.cpp?rev=238330&r1=238329&r2=238330&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCSection.cpp (original)
+++ llvm/trunk/lib/MC/MCSection.cpp Wed May 27 09:55:09 2015
@@ -105,7 +105,3 @@ MCSectionData::reverse_iterator MCSectio
MCSectionData::reverse_iterator MCSectionData::rend() {
return Fragments.rend();
}
-
-size_t MCSectionData::size() const { return Fragments.size(); }
-
-bool MCSectionData::empty() const { return Fragments.empty(); }
More information about the llvm-commits
mailing list