Skip to content

Commit 66367b9

Browse files
committed
Run formatter
1 parent a167f7a commit 66367b9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

llvm/include/llvm/Object/Minidump.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ class MinidumpFile : public Binary {
9898
/// Returns the first exception stream in the file. An error is returned if
9999
/// the associated stream is smaller than the size of the ExceptionStream
100100
/// structure. Or the directory supplied is not of kind exception stream.
101-
Expected<const minidump::ExceptionStream &>
102-
getExceptionStream() const {
101+
Expected<const minidump::ExceptionStream &> getExceptionStream() const {
103102
auto it = getExceptionStreams();
104103
if (it.begin() == it.end())
105104
return createError("No exception streams");
@@ -233,8 +232,8 @@ class MinidumpFile : public Binary {
233232
class ExceptionStreamsIterator {
234233
public:
235234
ExceptionStreamsIterator(ArrayRef<minidump::Directory> Streams,
236-
const MinidumpFile *File)
237-
: Streams(Streams), File(File) {}
235+
const MinidumpFile *File)
236+
: Streams(Streams), File(File) {}
238237

239238
bool operator==(const ExceptionStreamsIterator &R) const {
240239
return Streams.size() == R.Streams.size();

llvm/lib/Object/Minidump.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ MinidumpFile::create(MemoryBufferRef Source) {
166166
return createError("Duplicate stream type");
167167
}
168168

169-
return std::unique_ptr<MinidumpFile>(new MinidumpFile(
170-
Source, Hdr, *ExpectedStreams, std::move(StreamMap), std::move(ExceptionStreams)));
169+
return std::unique_ptr<MinidumpFile>(
170+
new MinidumpFile(Source, Hdr, *ExpectedStreams, std::move(StreamMap),
171+
std::move(ExceptionStreams)));
171172
}
172173

173174
iterator_range<MinidumpFile::FallibleMemory64Iterator>

llvm/unittests/Object/MinidumpTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ TEST(MinidumpFile, getExceptionStreams) {
751751
auto ExpectedFile = create(Data);
752752
ASSERT_THAT_EXPECTED(ExpectedFile, Succeeded());
753753
const MinidumpFile &File = **ExpectedFile;
754-
754+
755755
auto ExceptionStreams = File.getExceptionStreams();
756756
ASSERT_NE(ExceptionStreams.begin(), ExceptionStreams.end());
757757
auto ExceptionIterator = ExceptionStreams.begin();

0 commit comments

Comments
 (0)