diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp index 7683cad6ede..10b8fa781d7 100644 --- a/lib/ProfileData/InstrProfReader.cpp +++ b/lib/ProfileData/InstrProfReader.cpp @@ -335,7 +335,8 @@ RawInstrProfReader::readNextRecord(InstrProfRecord &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(); @@ -436,7 +437,8 @@ std::error_code InstrProfReaderIndex::getRecords( Data = *RecordIterator; - if (Data.empty()) return instrprof_error::malformed; + if (Data.empty()) + return instrprof_error::malformed; return instrprof_error::success; }