[clang-tools-extra] r328819 - [clangd] Fix repeated word typo. NFC
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 29 13:03:16 PDT 2018
Author: maskray
Date: Thu Mar 29 13:03:16 2018
New Revision: 328819
URL: http://llvm.org/viewvc/llvm-project?rev=328819&view=rev
Log:
[clangd] Fix repeated word typo. NFC
Modified:
clang-tools-extra/trunk/clangd/JSONExpr.cpp
clang-tools-extra/trunk/clangd/index/SymbolCollector.cpp
Modified: clang-tools-extra/trunk/clangd/JSONExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/JSONExpr.cpp?rev=328819&r1=328818&r2=328819&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/JSONExpr.cpp (original)
+++ clang-tools-extra/trunk/clangd/JSONExpr.cpp Thu Mar 29 13:03:16 2018
@@ -113,7 +113,7 @@ private:
++P;
}
- // On invalid syntax, parseX() functions return false and and set Err.
+ // On invalid syntax, parseX() functions return false and set Err.
bool parseNumber(char First, double &Out);
bool parseString(std::string &Out);
bool parseUnicode(std::string &Out);
Modified: clang-tools-extra/trunk/clangd/index/SymbolCollector.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/SymbolCollector.cpp?rev=328819&r1=328818&r2=328819&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/SymbolCollector.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/SymbolCollector.cpp Thu Mar 29 13:03:16 2018
@@ -202,7 +202,7 @@ llvm::Optional<SymbolLocation> getSymbol
// in a header file, in which case clangd would prefer to use ND as a canonical
// declaration.
// FIXME: handle symbol types that are not TagDecl (e.g. functions), if using
-// the the first seen declaration as canonical declaration is not a good enough
+// the first seen declaration as canonical declaration is not a good enough
// heuristic.
bool isPreferredDeclaration(const NamedDecl &ND, index::SymbolRoleSet Roles) {
using namespace clang::ast_matchers;
More information about the cfe-commits
mailing list