summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/TUScheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/TUScheduler.cpp b/clang-tools-extra/clangd/TUScheduler.cpp
index c4e555b561e..3433033761f 100644
--- a/clang-tools-extra/clangd/TUScheduler.cpp
+++ b/clang-tools-extra/clangd/TUScheduler.cpp
@@ -273,7 +273,7 @@ private:
// The lifetime of the old/new ASTWorkers will overlap, but their handles
// don't. When the old handle is destroyed, the old worker will stop reporting
// diagnostics.
- bool ReportDiagnostics = true; /* GUARDED_BY(DiagMu) */
+ bool ReportDiagnostics = true; /* GUARDED_BY(DiagsMu) */
};
/// A smart-pointer-like class that points to an active ASTWorker.
OpenPOWER on IntegriCloud