summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-01-17 22:11:27 +0000
committerRui Ueyama <ruiu@google.com>2014-01-17 22:11:27 +0000
commit64382602e4a4829f19174d222b3f0409ff87ddbc (patch)
treefec2e7dd1a1ae441cbfed850424adec7c8a8ec32
parent9106d365f5577c579c383766405e2aa9b9e9ae38 (diff)
downloadllvm-64382602e4a4829f19174d222b3f0409ff87ddbc.tar.gz
llvm-64382602e4a4829f19174d222b3f0409ff87ddbc.tar.bz2
llvm-64382602e4a4829f19174d222b3f0409ff87ddbc.tar.xz
80-column.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199519 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Object/COFFObjectFile.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Object/COFFObjectFile.cpp b/lib/Object/COFFObjectFile.cpp
index fca21843b2..ec8989d5c6 100644
--- a/lib/Object/COFFObjectFile.cpp
+++ b/lib/Object/COFFObjectFile.cpp
@@ -458,7 +458,8 @@ error_code COFFObjectFile::initExportTablePtr() {
uintptr_t IntPtr = 0;
if (error_code EC = getRvaPtr(ExportTableRva, IntPtr))
return EC;
- ExportDirectory = reinterpret_cast<const export_directory_table_entry *>(IntPtr);
+ ExportDirectory =
+ reinterpret_cast<const export_directory_table_entry *>(IntPtr);
return object_error::success;
}
@@ -733,7 +734,8 @@ ArrayRef<uint8_t> COFFObjectFile::getSymbolAuxData(
== 0 && "Aux Symbol data did not point to the beginning of a symbol");
# endif
}
- return ArrayRef<uint8_t>(Aux, Symbol->NumberOfAuxSymbols * sizeof(coff_symbol));
+ return ArrayRef<uint8_t>(Aux,
+ Symbol->NumberOfAuxSymbols * sizeof(coff_symbol));
}
error_code COFFObjectFile::getSectionName(const coff_section *Sec,
@@ -977,7 +979,8 @@ error_code ExportDirectoryEntryRef::getExportRVA(uint32_t &Result) const {
if (error_code EC = OwningObject->getRvaPtr(
ExportTable->ExportAddressTableRVA, IntPtr))
return EC;
- const export_address_table_entry *entry = reinterpret_cast<const export_address_table_entry *>(IntPtr);
+ const export_address_table_entry *entry =
+ reinterpret_cast<const export_address_table_entry *>(IntPtr);
Result = entry[Index].ExportRVA;
return object_error::success;
}