[PATCH] D63193: [clangd] Fix typo in GUARDED_BY()
Nikolai Kosjar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 12 03:44:05 PDT 2019
nik created this revision.
nik added reviewers: ilya-biryukov, kadircet, sammccall.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, javed.absar.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63193
Files:
clang-tools-extra/clangd/TUScheduler.cpp
Index: clang-tools-extra/clangd/TUScheduler.cpp
===================================================================
--- clang-tools-extra/clangd/TUScheduler.cpp
+++ clang-tools-extra/clangd/TUScheduler.cpp
@@ -273,7 +273,7 @@
// 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63193.204250.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190612/0f37e2cd/attachment.bin>
More information about the cfe-commits
mailing list