[clang-tools-extra] r368824 - [clangd] Fix typos and grammar in a comment. NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 03:49:32 PDT 2019


Author: ibiryukov
Date: Wed Aug 14 03:49:32 2019
New Revision: 368824

URL: http://llvm.org/viewvc/llvm-project?rev=368824&view=rev
Log:
[clangd] Fix typos and grammar in a comment. NFC

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

Modified: clang-tools-extra/trunk/clangd/FindSymbols.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/FindSymbols.cpp?rev=368824&r1=368823&r2=368824&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/FindSymbols.cpp (original)
+++ clang-tools-extra/trunk/clangd/FindSymbols.cpp Wed Aug 14 03:49:32 2019
@@ -176,14 +176,14 @@ llvm::Optional<DocumentSymbol> declToSym
   return SI;
 }
 
-/// A helper class to build an outline for the parse AST. It traverse the AST
+/// A helper class to build an outline for the parse AST. It traverses the AST
 /// directly instead of using RecursiveASTVisitor (RAV) for three main reasons:
-///    - there is no way to keep RAV from traversing subtrees we're not
+///    - there is no way to keep RAV from traversing subtrees we are not
 ///      interested in. E.g. not traversing function locals or implicit template
 ///      instantiations.
-///    - it's easier to combine results of recursive passes, e.g.
+///    - it's easier to combine results of recursive passes,
 ///    - visiting decls is actually simple, so we don't hit the complicated
-///      cases that RAV mostly helps with (types and expressions, etc.)
+///      cases that RAV mostly helps with (types, expressions, etc.)
 class DocumentOutline {
 public:
   DocumentOutline(ParsedAST &AST) : AST(AST) {}




More information about the cfe-commits mailing list