Skip to content

Commit 304189f

Browse files
committed
apply clang-format
1 parent 0d9218e commit 304189f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

llvm/lib/Support/Error.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,13 @@ void report_fatal_error(Error Err, bool GenCrashDiag, bool IsUsageError) {
175175
}
176176

177177
void reportFatalInternalError(Error Err) {
178-
report_fatal_error(std::move(Err), /*GenCrashDiag=*/true, /*IsUsageError=*/false);
178+
report_fatal_error(std::move(Err), /*GenCrashDiag=*/true,
179+
/*IsUsageError=*/false);
179180
}
180181

181182
void reportFatalUsageError(Error Err) {
182-
report_fatal_error(std::move(Err), /*GenCrashDiag=*/false, /*IsUsageError=*/true);
183+
report_fatal_error(std::move(Err), /*GenCrashDiag=*/false,
184+
/*IsUsageError=*/true);
183185
}
184186

185187
} // end namespace llvm

llvm/lib/Support/ErrorHandling.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,18 @@ void llvm::remove_fatal_error_handler() {
8080
ErrorHandlerUserData = nullptr;
8181
}
8282

83-
void llvm::report_fatal_error(const char *Reason, bool GenCrashDiag, bool IsUsageError) {
83+
void llvm::report_fatal_error(const char *Reason, bool GenCrashDiag,
84+
bool IsUsageError) {
8485
report_fatal_error(Twine(Reason), GenCrashDiag, IsUsageError);
8586
}
8687

87-
void llvm::report_fatal_error(StringRef Reason, bool GenCrashDiag, bool IsUsageError) {
88+
void llvm::report_fatal_error(StringRef Reason, bool GenCrashDiag,
89+
bool IsUsageError) {
8890
report_fatal_error(Twine(Reason), GenCrashDiag, IsUsageError);
8991
}
9092

91-
void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag, bool IsUsageError) {
93+
void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag,
94+
bool IsUsageError) {
9295
llvm::fatal_error_handler_t handler = nullptr;
9396
void* handlerData = nullptr;
9497
{

0 commit comments

Comments
 (0)