[llvm] r255313 - Format fix (NFC)
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 10 15:48:06 PST 2015
Author: davidxl
Date: Thu Dec 10 17:48:05 2015
New Revision: 255313
URL: http://llvm.org/viewvc/llvm-project?rev=255313&view=rev
Log:
Format fix (NFC)
Modified:
llvm/trunk/lib/ProfileData/InstrProfReader.cpp
Modified: llvm/trunk/lib/ProfileData/InstrProfReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/InstrProfReader.cpp?rev=255313&r1=255312&r2=255313&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/InstrProfReader.cpp (original)
+++ llvm/trunk/lib/ProfileData/InstrProfReader.cpp Thu Dec 10 17:48:05 2015
@@ -335,7 +335,8 @@ RawInstrProfReader<IntPtrT>::readNextRec
return EC;
// Read value data and set Record.
- if (std::error_code EC = readValueProfilingData(Record)) return EC;
+ if (std::error_code EC = readValueProfilingData(Record))
+ return EC;
// Iterate.
advanceData();
@@ -436,7 +437,8 @@ std::error_code InstrProfReaderIndex<Has
Data = *RecordIterator;
- if (Data.empty()) return instrprof_error::malformed;
+ if (Data.empty())
+ return instrprof_error::malformed;
return instrprof_error::success;
}
More information about the llvm-commits
mailing list