We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0944453 commit 889172eCopy full SHA for 889172e
flang/unittests/Frontend/CodeGenActionTest.cpp
@@ -86,8 +86,9 @@ class LLVMConversionFailureCodeGenAction : public CodeGenAction {
86
TEST(CodeGenAction, GracefullyHandleLLVMConversionFailure) {
87
std::string diagnosticOutput;
88
llvm::raw_string_ostream diagnosticsOS(diagnosticOutput);
89
+ clang::DiagnosticOptions diagOpts;
90
auto diagPrinter = std::make_unique<Fortran::frontend::TextDiagnosticPrinter>(
- diagnosticsOS, new clang::DiagnosticOptions());
91
+ diagnosticsOS, diagOpts);
92
93
CompilerInstance ci;
94
ci.createDiagnostics(diagPrinter.get(), /*ShouldOwnClient=*/false);
0 commit comments