Author: ibiryukov Date: Mon Jul 30 04:46:25 2018 New Revision: 338241 URL: http://llvm.org/viewvc/llvm-project?rev=338241&view=rev Log: [clangd] Fix a comment. NFC
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=338241&r1=338240&r2=338241&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/TUScheduler.cpp (original) +++ clang-tools-extra/trunk/clangd/TUScheduler.cpp Mon Jul 30 04:46:25 2018 @@ -367,11 +367,11 @@ void ASTWorker::update( PreambleWasBuilt.notify(); if (CanReuseAST) { - // Take a shortcut and don't build the AST, neither the inputs nor the + // Take a shortcut and don't build the AST if neither the inputs nor the // preamble have changed. // Note that we do not report the diagnostics, since they should not have // changed either. All the clients should handle the lack of OnUpdated() - // call anyway, to handle empty result from buildAST. + // call anyway to handle empty result from buildAST. // FIXME(ibiryukov): the AST could actually change if non-preamble // includes changed, but we choose to ignore it. // FIXME(ibiryukov): should we refresh the cache in IdleASTs for the _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits