Skip to content

Commit ff591bf

Browse files
Fix formatting
1 parent 13e6da8 commit ff591bf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/include/llvm/ProfileData/MemProfReader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ class YAMLMemProfReader final : public MemProfReader {
220220
// a raw binary memprof profile.
221221
static bool hasFormat(const StringRef Path);
222222

223-
// Create a YAMLMemProfReader after sanity checking the contents of the file at
224-
// \p Path or the \p Buffer.
223+
// Create a YAMLMemProfReader after sanity checking the contents of the file
224+
// at \p Path or the \p Buffer.
225225
static Expected<std::unique_ptr<YAMLMemProfReader>> create(const Twine &Path);
226226
static Expected<std::unique_ptr<YAMLMemProfReader>>
227227
create(std::unique_ptr<MemoryBuffer> Buffer);

llvm/lib/ProfileData/InstrProfReader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,8 @@ IndexedMemProfReader::getMemProfCallerCalleePairs() const {
16661666

16671667
memprof::AllMemProfData IndexedMemProfReader::getAllMemProfData() const {
16681668
memprof::AllMemProfData AllMemProfData;
1669-
AllMemProfData.HeapProfileRecords.reserve(MemProfRecordTable->getNumEntries());
1669+
AllMemProfData.HeapProfileRecords.reserve(
1670+
MemProfRecordTable->getNumEntries());
16701671
for (uint64_t Key : MemProfRecordTable->keys()) {
16711672
auto Record = getMemProfRecord(Key);
16721673
if (Record.takeError())

0 commit comments

Comments
 (0)