Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: include/llvm/Object/COFF.h

Issue 9617030: Distinguish between ELF 32/64, little/big endian, in the type system of Binary.h (Closed) Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: x Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/llvm/Object/Binary.h ('k') | include/llvm/Object/ELF.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Object/COFF.h
===================================================================
--- include/llvm/Object/COFF.h (revision 152141)
+++ include/llvm/Object/COFF.h (working copy)
@@ -179,7 +179,7 @@
error_code getSymbolName(const coff_symbol *symbol, StringRef &Res) const;
static inline bool classof(const Binary *v) {
- return v->getType() == isCOFF;
+ return v->isCOFF();
}
static inline bool classof(const COFFObjectFile *v) { return true; }
};
« no previous file with comments | « include/llvm/Object/Binary.h ('k') | include/llvm/Object/ELF.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698