Skip to content

Commit

Permalink
[clangd] Fix typo in GUARDED_BY()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nikolaivk committed Jun 12, 2019
1 parent 4cfcacb commit f6efac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/TUScheduler.cpp
Expand Up @@ -273,7 +273,7 @@ class ASTWorker {
// 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.
Expand Down

0 comments on commit f6efac6

Please sign in to comment.