[llvm] r359295 - Minor formatting tweak, no behavior change
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 04:44:10 PDT 2019
Author: nico
Date: Fri Apr 26 04:44:10 2019
New Revision: 359295
URL: http://llvm.org/viewvc/llvm-project?rev=359295&view=rev
Log:
Minor formatting tweak, no behavior change
Modified:
llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=359295&r1=359294&r2=359295&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Fri Apr 26 04:44:10 2019
@@ -596,7 +596,8 @@ void COFFDumper::cacheRelocations() {
}
}
-void COFFDumper::printDataDirectory(uint32_t Index, const std::string &FieldName) {
+void COFFDumper::printDataDirectory(uint32_t Index,
+ const std::string &FieldName) {
const data_directory *Data;
if (Obj->getDataDirectory(Index, Data))
return;
@@ -1234,8 +1235,9 @@ void COFFDumper::mergeCodeViewTypes(Merg
if (GHash) {
std::vector<GloballyHashedType> Hashes =
GloballyHashedType::hashTypes(Types);
- if (auto EC = mergeTypeAndIdRecords(GlobalCVIDs, GlobalCVTypes, SourceToDest, Types,
- Hashes, PCHSignature))
+ if (auto EC =
+ mergeTypeAndIdRecords(GlobalCVIDs, GlobalCVTypes, SourceToDest,
+ Types, Hashes, PCHSignature))
return error(std::move(EC));
} else {
if (auto EC = mergeTypeAndIdRecords(CVIDs, CVTypes, SourceToDest, Types,
@@ -1767,7 +1769,8 @@ void COFFDumper::printResourceDirectoryT
SmallString<20> IDStr;
raw_svector_ostream OS(IDStr);
if (i < Table.NumberOfNameEntries) {
- ArrayRef<UTF16> RawEntryNameString = unwrapOrError(RSF.getEntryNameString(Entry));
+ ArrayRef<UTF16> RawEntryNameString =
+ unwrapOrError(RSF.getEntryNameString(Entry));
std::vector<UTF16> EndianCorrectedNameString;
if (llvm::sys::IsBigEndianHost) {
EndianCorrectedNameString.resize(RawEntryNameString.size() + 1);
More information about the llvm-commits
mailing list