[llvm] r218916 - Rename data -> Data
Rui Ueyama
ruiu at google.com
Thu Oct 2 15:13:45 PDT 2014
Author: ruiu
Date: Thu Oct 2 17:13:44 2014
New Revision: 218916
URL: http://llvm.org/viewvc/llvm-project?rev=218916&view=rev
Log:
Rename data -> Data
Modified:
llvm/trunk/include/llvm/Object/COFF.h
llvm/trunk/tools/llvm-objdump/COFFDump.cpp
Modified: llvm/trunk/include/llvm/Object/COFF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/COFF.h?rev=218916&r1=218915&r2=218916&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/COFF.h (original)
+++ llvm/trunk/include/llvm/Object/COFF.h Thu Oct 2 17:13:44 2014
@@ -164,18 +164,18 @@ struct import_directory_table_entry {
template <typename IntTy>
struct import_lookup_table_entry {
- IntTy data;
+ IntTy Data;
- bool isOrdinal() const { return data < 0; }
+ bool isOrdinal() const { return Data < 0; }
uint16_t getOrdinal() const {
assert(isOrdinal() && "ILT entry is not an ordinal!");
- return data & 0xFFFF;
+ return Data & 0xFFFF;
}
uint32_t getHintNameRVA() const {
assert(!isOrdinal() && "ILT entry is not a Hint/Name RVA!");
- return data & 0xFFFFFFFF;
+ return Data & 0xFFFFFFFF;
}
};
Modified: llvm/trunk/tools/llvm-objdump/COFFDump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/COFFDump.cpp?rev=218916&r1=218915&r2=218916&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/COFFDump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/COFFDump.cpp Thu Oct 2 17:13:44 2014
@@ -322,7 +322,7 @@ static void printImportTables(const COFF
const import_lookup_table_entry32 *entry;
if (I->getImportLookupEntry(entry))
return;
- for (; entry->data; ++entry) {
+ for (; entry->Data; ++entry) {
if (entry->isOrdinal()) {
outs() << format(" % 6d\n", entry->getOrdinal());
continue;
More information about the llvm-commits
mailing list