Skip to content

Commit 57b1dab

Browse files
committed
fix main-branch build failures
1 parent 9f07987 commit 57b1dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Frontend/TextDiagnosticPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void printRemarkOption(llvm::raw_ostream &os,
4545
// warning could be printed i.e. [-Wunknown-warning-option]
4646
os << " [" << (level == clang::DiagnosticsEngine::Remark ? "-R" : "-W")
4747
<< opt;
48-
llvm::StringRef optValue = info.getDiags()->getFlagValue();
48+
llvm::StringRef optValue = info.getFlagValue();
4949
if (!optValue.empty())
5050
os << "=" << optValue;
5151
os << ']';

0 commit comments

Comments
 (0)