diff options
author | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:31:23 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:31:23 +0000 |
commit | b43d87b0646aa04951056c7e0d1ab9a58eb09f66 (patch) | |
tree | b55a3bab495b3a6e0c4771893e0ed81d5d276ec6 /lib/Rewrite/Core | |
parent | d680b986651227b10f1e307861bc23cc89064161 (diff) |
Remove pointless classof()'s.
Updates to llvm/Support/Casting.h have rendered these classof()'s
irrelevant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/Core')
-rw-r--r-- | lib/Rewrite/Core/DeltaTree.cpp | 3 | ||||
-rw-r--r-- | lib/Rewrite/Core/RewriteRope.cpp | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/Rewrite/Core/DeltaTree.cpp b/lib/Rewrite/Core/DeltaTree.cpp index dff621d206..46922772c5 100644 --- a/lib/Rewrite/Core/DeltaTree.cpp +++ b/lib/Rewrite/Core/DeltaTree.cpp @@ -113,8 +113,6 @@ namespace { void RecomputeFullDeltaLocally(); void Destroy(); - - //static inline bool classof(const DeltaTreeNode *) { return true; } }; } // end anonymous namespace @@ -149,7 +147,6 @@ namespace { return Children[i]; } - //static inline bool classof(const DeltaTreeInteriorNode *) { return true; } static inline bool classof(const DeltaTreeNode *N) { return !N->isLeaf(); } }; } diff --git a/lib/Rewrite/Core/RewriteRope.cpp b/lib/Rewrite/Core/RewriteRope.cpp index 3b085bbedc..fe7aa2d647 100644 --- a/lib/Rewrite/Core/RewriteRope.cpp +++ b/lib/Rewrite/Core/RewriteRope.cpp @@ -117,8 +117,6 @@ namespace { /// guaranteed that there is a split at Offset. void erase(unsigned Offset, unsigned NumBytes); - //static inline bool classof(const RopePieceBTreeNode *) { return true; } - }; } // end anonymous namespace @@ -221,7 +219,6 @@ namespace { /// guaranteed that there is a split at Offset. void erase(unsigned Offset, unsigned NumBytes); - //static inline bool classof(const RopePieceBTreeLeaf *) { return true; } static inline bool classof(const RopePieceBTreeNode *N) { return N->isLeaf(); } @@ -458,7 +455,6 @@ namespace { /// guaranteed that there is a split at Offset. void erase(unsigned Offset, unsigned NumBytes); - //static inline bool classof(const RopePieceBTreeInterior *) { return true; } static inline bool classof(const RopePieceBTreeNode *N) { return !N->isLeaf(); } |