Skip to content

Commit b606238

Browse files
committed
found '(fix available)' insertion code
1 parent 8cef16a commit b606238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/Diagnostics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ std::string mainMessage(const Diag &D, const ClangdDiagnosticOptions &Opts) {
312312
llvm::raw_string_ostream OS(Result);
313313
OS << D.Message;
314314
if (Opts.DisplayFixesCount && !D.Fixes.empty())
315-
OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)";
315+
OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)"; // TODO
316316
// If notes aren't emitted as structured info, add them to the message.
317317
if (!Opts.EmitRelatedLocations)
318318
for (auto &Note : D.Notes) {

0 commit comments

Comments
 (0)