Skip to content

Commit 0944453

Browse files
committed
Convert -> to .
1 parent 34cf500 commit 0944453

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/lib/Frontend/TextDiagnosticPrinter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void TextDiagnosticPrinter::printLocForRemarks(
8181
llvm::sys::path::make_preferred(absPath);
8282

8383
// Used for changing only the bold attribute
84-
if (diagOpts->ShowColors)
84+
if (diagOpts.ShowColors)
8585
os.changeColor(llvm::raw_ostream::SAVEDCOLOR, true);
8686

8787
// Print path, file name, line and column
@@ -113,11 +113,11 @@ void TextDiagnosticPrinter::HandleDiagnostic(
113113
printLocForRemarks(diagMessageStream, diagMsg);
114114

115115
Fortran::frontend::TextDiagnostic::printDiagnosticLevel(os, level,
116-
diagOpts->ShowColors);
116+
diagOpts.ShowColors);
117117
Fortran::frontend::TextDiagnostic::printDiagnosticMessage(
118118
os,
119119
/*IsSupplemental=*/level == clang::DiagnosticsEngine::Note, diagMsg,
120-
diagOpts->ShowColors);
120+
diagOpts.ShowColors);
121121

122122
os.flush();
123123
}

0 commit comments

Comments
 (0)