From 41716328c597656692f2189f47c7cc56120d2aa5 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 19 Sep 2009 20:40:05 +0000 Subject: Strip trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82332 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ValueHandle.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/llvm/Support') diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index 91e529e..91b05b1 100644 --- a/include/llvm/Support/ValueHandle.h +++ b/include/llvm/Support/ValueHandle.h @@ -49,7 +49,7 @@ protected: Callback }; private: - + PointerIntPair PrevPair; ValueHandleBase *Next; Value *VP; @@ -68,9 +68,9 @@ public: } ~ValueHandleBase() { if (isValid(VP)) - RemoveFromUseList(); + RemoveFromUseList(); } - + Value *operator=(Value *RHS) { if (VP == RHS) return RHS; if (isValid(VP)) RemoveFromUseList(); @@ -86,7 +86,7 @@ public: if (isValid(VP)) AddToExistingUseList(RHS.getPrevPtr()); return VP; } - + Value *operator->() const { return getValPtr(); } Value &operator*() const { return *getValPtr(); } @@ -102,22 +102,22 @@ private: // Callbacks made from Value. static void ValueIsDeleted(Value *V); static void ValueIsRAUWd(Value *Old, Value *New); - + // Internal implementation details. ValueHandleBase **getPrevPtr() const { return PrevPair.getPointer(); } HandleBaseKind getKind() const { return PrevPair.getInt(); } void setPrevPtr(ValueHandleBase **Ptr) { PrevPair.setPointer(Ptr); } - + /// AddToExistingUseList - Add this ValueHandle to the use list for VP, /// where List is known to point into the existing use list. void AddToExistingUseList(ValueHandleBase **List); - + /// AddToUseList - Add this ValueHandle to the use list for VP. void AddToUseList(); /// RemoveFromUseList - Remove this ValueHandle from its current use list. void RemoveFromUseList(); }; - + /// WeakVH - This is a value handle that tries hard to point to a Value, even /// across RAUW operations, but will null itself out if the value is destroyed. /// this is useful for advisory sorts of information, but should not be used as @@ -160,7 +160,7 @@ template<> struct simplify_type : public simplify_type {}; /// AssertingVH's as it moves. This is required because in non-assert mode this /// class turns into a trivial wrapper around a pointer. template -class AssertingVH +class AssertingVH #ifndef NDEBUG : public ValueHandleBase #endif -- cgit v1.1