aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-13 15:30:59 +0000
committerChris Lattner <sabre@nondot.org>2003-10-13 15:30:59 +0000
commit814f6225261d7a8de1e8747a20625ab0ef6332de (patch)
tree3dc30bbcaee20d51a04f0b90a90527428f581cca
parentcb18d181d1ca542d7068ce4be88f76cc1bfd31d5 (diff)
Remove explicit inline qualifiers when the implicit ones work just as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9082 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Type.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index f8202ae40c..fe6db028b4 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -248,22 +248,22 @@ private:
typedef TypeIterator _Self;
public:
- inline TypeIterator(const Type *ty, unsigned idx) : Ty(ty), Idx(idx) {}
- inline ~TypeIterator() {}
+ TypeIterator(const Type *ty, unsigned idx) : Ty(ty), Idx(idx) {}
+ ~TypeIterator() {}
- inline bool operator==(const _Self& x) const { return Idx == x.Idx; }
- inline bool operator!=(const _Self& x) const { return !operator==(x); }
+ bool operator==(const _Self& x) const { return Idx == x.Idx; }
+ bool operator!=(const _Self& x) const { return !operator==(x); }
- inline pointer operator*() const { return Ty->getContainedType(Idx); }
- inline pointer operator->() const { return operator*(); }
+ pointer operator*() const { return Ty->getContainedType(Idx); }
+ pointer operator->() const { return operator*(); }
- inline _Self& operator++() { ++Idx; return *this; } // Preincrement
- inline _Self operator++(int) { // Postincrement
+ _Self& operator++() { ++Idx; return *this; } // Preincrement
+ _Self operator++(int) { // Postincrement
_Self tmp = *this; ++*this; return tmp;
}
- inline _Self& operator--() { --Idx; return *this; } // Predecrement
- inline _Self operator--(int) { // Postdecrement
+ _Self& operator--() { --Idx; return *this; } // Predecrement
+ _Self operator--(int) { // Postdecrement
_Self tmp = *this; --*this; return tmp;
}
};