diff options
author | Xinliang David Li <davidxl@google.com> | 2015-12-10 23:48:05 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-12-10 23:48:05 +0000 |
commit | 2d4803e81b5460eac39f8833b57104b85f7eb16e (patch) | |
tree | d18fe3726c9cbb83b0e67ec58f0e60b3aaea961f /llvm/lib/ProfileData/InstrProfReader.cpp | |
parent | f13302e63ff0c858ecac7cc30ea2201c523a43ba (diff) | |
download | llvm-2d4803e81b5460eac39f8833b57104b85f7eb16e.zip llvm-2d4803e81b5460eac39f8833b57104b85f7eb16e.tar.gz llvm-2d4803e81b5460eac39f8833b57104b85f7eb16e.tar.bz2 |
Format fix (NFC)
llvm-svn: 255313
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProfReader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index 7683cad..10b8fa7 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -335,7 +335,8 @@ RawInstrProfReader<IntPtrT>::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<HashTableImpl>::getRecords( Data = *RecordIterator; - if (Data.empty()) return instrprof_error::malformed; + if (Data.empty()) + return instrprof_error::malformed; return instrprof_error::success; } |