[clang-tools-extra] r363139 - [clangd] Fix typo in GUARDED_BY()

Nikolai Kosjar via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 12 04:01:19 PDT 2019


Author: nik
Date: Wed Jun 12 04:01:19 2019
New Revision: 363139

URL: http://llvm.org/viewvc/llvm-project?rev=363139&view=rev
Log:
[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

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

Modified: clang-tools-extra/trunk/clangd/TUScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/TUScheduler.cpp?rev=363139&r1=363138&r2=363139&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/TUScheduler.cpp (original)
+++ clang-tools-extra/trunk/clangd/TUScheduler.cpp Wed Jun 12 04:01:19 2019
@@ -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.




More information about the cfe-commits mailing list