diff options
| author | Fangrui Song <maskray@google.com> | 2018-09-05 08:01:37 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-09-05 08:01:37 +0000 |
| commit | 445bdd171ff4268157256923a1f143ec959d9366 (patch) | |
| tree | da644947f74372de432371761fa2a92c3c8cadfe /clang-tools-extra/clangd/FindSymbols.cpp | |
| parent | d85264bf53744d2f4be4d049579b8810ecc24318 (diff) | |
| download | bcm5719-llvm-445bdd171ff4268157256923a1f143ec959d9366.tar.gz bcm5719-llvm-445bdd171ff4268157256923a1f143ec959d9366.zip | |
[clangd] Fix typo. NFC
llvm-svn: 341452
Diffstat (limited to 'clang-tools-extra/clangd/FindSymbols.cpp')
| -rw-r--r-- | clang-tools-extra/clangd/FindSymbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<NamedDecl>(ASTNode.OrigD); |

