[llvm-commits] [dragonegg] r150472 - in /dragonegg/trunk/src: Constants.cpp Types.cpp
Duncan Sands
baldrick at free.fr
Tue Feb 14 03:38:44 PST 2012
Author: baldrick
Date: Tue Feb 14 05:38:43 2012
New Revision: 150472
URL: http://llvm.org/viewvc/llvm-project?rev=150472&view=rev
Log:
Remove unused methods.
Modified:
dragonegg/trunk/src/Constants.cpp
dragonegg/trunk/src/Types.cpp
Modified: dragonegg/trunk/src/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Constants.cpp?rev=150472&r1=150471&r2=150472&view=diff
==============================================================================
--- dragonegg/trunk/src/Constants.cpp (original)
+++ dragonegg/trunk/src/Constants.cpp Tue Feb 14 05:38:43 2012
@@ -131,16 +131,6 @@
return R.getWidth();
}
- /// getFirst - Return the position of the first bit in the range.
- unsigned getFirst() const {
- return R.getFirst();
- }
-
- /// getLast - Return the position of the last bit defining the range.
- unsigned getLast() const {
- return R.getLast();
- }
-
/// getRange - Return the range of bits in this slice.
SignedRange getRange() const {
return R;
Modified: dragonegg/trunk/src/Types.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Types.cpp?rev=150472&r1=150471&r2=150472&view=diff
==============================================================================
--- dragonegg/trunk/src/Types.cpp (original)
+++ dragonegg/trunk/src/Types.cpp Tue Feb 14 05:38:43 2012
@@ -91,13 +91,6 @@
return !(*this == other);
}
- /// Postfix increment operator.
- ContainedTypeIterator operator++(int) {
- ContainedTypeIterator Result(*this);
- ++(*this);
- return Result;
- }
-
/// Prefix increment operator.
ContainedTypeIterator& operator++() {
assert(type_ref && "Incrementing end iterator!");
More information about the llvm-commits
mailing list