diff options
author | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:30:49 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:30:49 +0000 |
commit | 506a1c5a58eab8a169a157dc8d3caef7f08b6cfc (patch) | |
tree | ff38ce16053e3bc04f9d797021cf8d15c6646922 /llvm/utils/TableGen/DAGISelMatcher.h | |
parent | d73b2818a18d50c7f951abe09c83c6a123033c41 (diff) | |
download | bcm5719-llvm-506a1c5a58eab8a169a157dc8d3caef7f08b6cfc.tar.gz bcm5719-llvm-506a1c5a58eab8a169a157dc8d3caef7f08b6cfc.zip |
Remove unnecessary classof()'s
isa<> et al. automatically infer when the cast is an upcast (including a
self-cast), so these are no longer necessary.
llvm-svn: 165767
Diffstat (limited to 'llvm/utils/TableGen/DAGISelMatcher.h')
-rw-r--r-- | llvm/utils/TableGen/DAGISelMatcher.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcher.h b/llvm/utils/TableGen/DAGISelMatcher.h index 3ca16f04269..7c6ce3babcd 100644 --- a/llvm/utils/TableGen/DAGISelMatcher.h +++ b/llvm/utils/TableGen/DAGISelMatcher.h @@ -99,8 +99,6 @@ public: OwningPtr<Matcher> &getNextPtr() { return Next; } - static inline bool classof(const Matcher *) { return true; } - bool isEqual(const Matcher *M) const { if (getKind() != M->getKind()) return false; return isEqualImpl(M); |