Fix stylistic and documentation problems in ValueMap found by Nick Lewycky and

Evan Cheng.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeffrey Yasskin
2009-10-23 20:54:00 +00:00
parent 7abbd04e90
commit 4ab74cdc12
3 changed files with 36 additions and 26 deletions

View File

@@ -454,12 +454,12 @@ public:
return Ptr != RHS.Ptr;
}
inline DenseMapIterator& operator++() { // Preincrement
inline DenseMapIterator& operator++() { // Preincrement
++Ptr;
AdvancePastEmptyBuckets();
return *this;
}
DenseMapIterator operator++(int) { // Postincrement
DenseMapIterator operator++(int) { // Postincrement
DenseMapIterator tmp = *this; ++*this; return tmp;
}