From 928bf19b65f32dd58f1ec13633ecd177d2bab32f Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Wed, 14 Aug 2019 10:49:32 +0000 Subject: [PATCH] [clangd] Fix typos and grammar in a comment. NFC llvm-svn: 368824 --- clang-tools-extra/clangd/FindSymbols.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang-tools-extra/clangd/FindSymbols.cpp b/clang-tools-extra/clangd/FindSymbols.cpp index fcd725faef81..695f5f9e1504 100644 --- a/clang-tools-extra/clangd/FindSymbols.cpp +++ b/clang-tools-extra/clangd/FindSymbols.cpp @@ -176,14 +176,14 @@ llvm::Optional declToSym(ASTContext &Ctx, const NamedDecl &ND) { 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) {}