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 | ed84062812c7b8a82d0e8128a22aa1aa07a14d79 (patch) | |
tree | 9453e4ed658f7721aa8ef3403ccc1bc1c6fa17bd /include/llvm/MC/MCSection.h | |
parent | 8a6538cd6117c5a7b1efb5c2e9cf172a5556c23e (diff) | |
download | llvm-ed84062812c7b8a82d0e8128a22aa1aa07a14d79.tar.gz llvm-ed84062812c7b8a82d0e8128a22aa1aa07a14d79.tar.bz2 llvm-ed84062812c7b8a82d0e8128a22aa1aa07a14d79.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r-- | include/llvm/MC/MCSection.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h index a92fc379e1..21fdb6bd39 100644 --- a/include/llvm/MC/MCSection.h +++ b/include/llvm/MC/MCSection.h @@ -64,8 +64,6 @@ namespace llvm { /// isVirtualSection - Check whether this section is "virtual", that is /// has no actual object file contents. virtual bool isVirtualSection() const = 0; - - static bool classof(const MCSection *) { return true; } }; } // end namespace llvm |