diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-30 18:45:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-30 18:45:09 +0000 |
commit | eeae0641bf3f8f62509ad488f716a7da7f44cbc9 (patch) | |
tree | 65c6027e34a4f8e1a2890af8e79c87274680b46f /include | |
parent | 0fffbafa9609e0e289ff3120ab9e23d244c1dbc0 (diff) | |
download | external_llvm-eeae0641bf3f8f62509ad488f716a7da7f44cbc9.zip external_llvm-eeae0641bf3f8f62509ad488f716a7da7f44cbc9.tar.gz external_llvm-eeae0641bf3f8f62509ad488f716a7da7f44cbc9.tar.bz2 |
Fix MetadataBase::classof().
Thanks Benjamin Kramer!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 0515979..c426449 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -50,7 +50,7 @@ public: } /// Methods for support type inquiry through isa, cast, and dyn_cast: - static inline bool classof(const MDString *) { return true; } + static inline bool classof(const MetadataBase *) { return true; } static bool classof(const Value *V) { return V->getValueID() == MDStringVal || V->getValueID() == MDNodeVal || V->getValueID() == NamedMDNodeVal; |