[PATCH] D63193: [clangd] Fix typo in GUARDED_BY()

Nikolai Kosjar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 03:58:52 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363139: [clangd] Fix typo in GUARDED_BY() (authored by nik, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D63193?vs=204250&id=204255#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63193/new/

https://reviews.llvm.org/D63193

Files:
  clang-tools-extra/trunk/clangd/TUScheduler.cpp


Index: clang-tools-extra/trunk/clangd/TUScheduler.cpp
===================================================================
--- clang-tools-extra/trunk/clangd/TUScheduler.cpp
+++ clang-tools-extra/trunk/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.204255.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/06b8ef16/attachment.bin>


More information about the llvm-commits mailing list