summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/Core/RewriteRope.cpp
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-10-11 23:31:23 +0000
committerSean Silva <silvas@purdue.edu>2012-10-11 23:31:23 +0000
commite2bb2ff576a9bbb1c298598fbeecd071d74e5567 (patch)
tree916f2600edf4ae3c02f2df70c9c5d88642a92491 /clang/lib/Rewrite/Core/RewriteRope.cpp
parent886e7f8cbb45eed3381aaaca80098473259768cf (diff)
downloadbcm5719-llvm-e2bb2ff576a9bbb1c298598fbeecd071d74e5567.tar.gz
bcm5719-llvm-e2bb2ff576a9bbb1c298598fbeecd071d74e5567.zip
Remove pointless classof()'s.
Updates to llvm/Support/Casting.h have rendered these classof()'s irrelevant. llvm-svn: 165770
Diffstat (limited to 'clang/lib/Rewrite/Core/RewriteRope.cpp')
-rw-r--r--clang/lib/Rewrite/Core/RewriteRope.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Rewrite/Core/RewriteRope.cpp b/clang/lib/Rewrite/Core/RewriteRope.cpp
index 3b085bbedc7..fe7aa2d6477 100644
--- a/clang/lib/Rewrite/Core/RewriteRope.cpp
+++ b/clang/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();
}
OpenPOWER on IntegriCloud