From 445bdd171ff4268157256923a1f143ec959d9366 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 5 Sep 2018 08:01:37 +0000 Subject: [clangd] Fix typo. NFC llvm-svn: 341452 --- clang-tools-extra/clangd/FindSymbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/clangd/FindSymbols.cpp') diff --git a/clang-tools-extra/clangd/FindSymbols.cpp b/clang-tools-extra/clangd/FindSymbols.cpp index cc7f084f26a..b808e374eae 100644 --- a/clang-tools-extra/clangd/FindSymbols.cpp +++ b/clang-tools-extra/clangd/FindSymbols.cpp @@ -226,7 +226,7 @@ public: // We should be only be looking at "local" decls in the main file. if (!SourceMgr.isWrittenInMainFile(NameLoc)) { // Even thought we are visiting only local (non-preamble) decls, - // we can get here when in the presense of "extern" decls. + // we can get here when in the presence of "extern" decls. return true; } const NamedDecl *ND = llvm::dyn_cast(ASTNode.OrigD); -- cgit v1.2.3