Format fix (NFC)
authorXinliang David Li <davidxl@google.com>
Thu, 10 Dec 2015 23:48:05 +0000 (23:48 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 10 Dec 2015 23:48:05 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255313 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ProfileData/InstrProfReader.cpp

index 7683cad6ede47637ab21c0824c31f484cce49fb6..10b8fa781d7369d12a7c78747809bc732c0c4501 100644 (file)
@@ -335,7 +335,8 @@ RawInstrProfReader<IntPtrT>::readNextRecord(InstrProfRecord &Record) {
     return EC;
 
   // Read value data and set Record.
     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();
 
   // Iterate.
   advanceData();
@@ -436,7 +437,8 @@ std::error_code InstrProfReaderIndex<HashTableImpl>::getRecords(
 
   Data = *RecordIterator;
 
 
   Data = *RecordIterator;
 
-  if (Data.empty()) return instrprof_error::malformed;
+  if (Data.empty())
+    return instrprof_error::malformed;
 
   return instrprof_error::success;
 }
 
   return instrprof_error::success;
 }