Skip to content

Commit 64d0e6b

Browse files
committed
master-next: Update call to setSuppressAfterFatalError for Clang r355586
This function was renamed to setFatalsAsError, with an inverted sense of the argument value.
1 parent 88d1183 commit 64d0e6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,8 +1011,7 @@ ClangImporter::create(ASTContext &ctx,
10111011
clangDiags.setSeverity(clang::diag::err_module_not_built,
10121012
clang::diag::Severity::Error,
10131013
clang::SourceLocation());
1014-
clangDiags.setSuppressAfterFatalError(
1015-
!ctx.Diags.getShowDiagnosticsAfterFatalError());
1014+
clangDiags.setFatalsAsError(ctx.Diags.getShowDiagnosticsAfterFatalError());
10161015

10171016

10181017
// Create the associated action.

0 commit comments

Comments
 (0)