Skip to content

Commit b0f85be

Browse files
committed
[flang] Fix build after #150124
1 parent 4efde3c commit b0f85be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "flang/Tools/TargetSetup.h"
2323
#include "flang/Version.inc"
2424
#include "clang/Basic/DiagnosticDriver.h"
25+
#include "clang/Basic/DiagnosticFrontend.h"
2526
#include "clang/Basic/DiagnosticOptions.h"
2627
#include "clang/Driver/CommonArgs.h"
2728
#include "clang/Driver/Driver.h"
@@ -1258,7 +1259,7 @@ static bool parseOpenMPArgs(CompilerInvocation &res, llvm::opt::ArgList &args,
12581259
clang::driver::options::OPT_fopenmp_host_ir_file_path)) {
12591260
res.getLangOpts().OMPHostIRFile = arg->getValue();
12601261
if (!llvm::sys::fs::exists(res.getLangOpts().OMPHostIRFile))
1261-
diags.Report(clang::diag::err_drv_omp_host_ir_file_not_found)
1262+
diags.Report(clang::diag::err_omp_host_ir_file_not_found)
12621263
<< res.getLangOpts().OMPHostIRFile;
12631264
}
12641265

0 commit comments

Comments
 (0)