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.
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.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits