From 849df7927ee243d1bdce23cf5d5b91e0c465f18b Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Thu, 10 Dec 2015 23:48:05 +0000 Subject: [PATCH 1/1] Format fix (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255313 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ProfileData/InstrProfReader.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } -- 2.34.1