summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-06-12 11:01:19 +0000
committerNikolai Kosjar <nikolai.kosjar@qt.io>2019-06-12 11:01:19 +0000
commitf6efac67e18c5ea66305b2cbc561705eab4ee776 (patch)
treec4d629b8aed3433342d9713030a8579f38b9de7d
parent4cfcacbdfefa0a8414965836759a41441f4f70fc (diff)
downloadbcm5719-llvm-f6efac67e18c5ea66305b2cbc561705eab4ee776.tar.gz
bcm5719-llvm-f6efac67e18c5ea66305b2cbc561705eab4ee776.zip
[clangd] Fix typo in GUARDED_BY()
Reviewers: ilya-biryukov, kadircet, sammccall Subscribers: javed.absar, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63193 llvm-svn: 363139
-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