diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-06-13 11:53:31 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-06-13 11:53:31 +0000 |
commit | 5e45dc40d329829ad23bf444f32dca221215e239 (patch) | |
tree | 717bb23e6e1af2314d66495c62843a8a8725a5f1 /include/llvm/Object/Binary.h | |
parent | bc437ebbca77cf8a7e2e47e3666c4a0114ccc2d1 (diff) |
Revert the last two commits in the series. r132911, r132912.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/Binary.h')
-rw-r--r-- | include/llvm/Object/Binary.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/Object/Binary.h b/include/llvm/Object/Binary.h index cd092fd8e4..89cd24bfb9 100644 --- a/include/llvm/Object/Binary.h +++ b/include/llvm/Object/Binary.h @@ -38,13 +38,10 @@ protected: enum { isArchive, - - // Object and children. - isObject, isCOFF, isELF, isMachO, - lastObject + isObject }; public: @@ -55,7 +52,7 @@ public: // Cast methods. unsigned int getType() const { return TypeID; } - static inline bool classof(const Binary *v) { return true; } + static inline bool classof(Binary const *v) { return true; } }; error_code createBinary(MemoryBuffer *Source, OwningPtr<Binary> &Result); |