diff options
Diffstat (limited to 'clang-tools-extra/clangd/AST.cpp')
-rw-r--r-- | clang-tools-extra/clangd/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/AST.cpp b/clang-tools-extra/clangd/AST.cpp index dea45671e55..7c270ee0d86 100644 --- a/clang-tools-extra/clangd/AST.cpp +++ b/clang-tools-extra/clangd/AST.cpp @@ -44,7 +44,7 @@ bool isSpelledInSourceCode(const Decl *D) { bool isImplementationDetail(const Decl *D) { return !isSpelledInSourceCode(D); } -SourceLocation findNameLoc(const clang::Decl* D) { +SourceLocation findNameLoc(const clang::Decl *D) { const auto &SM = D->getASTContext().getSourceManager(); if (!isSpelledInSourceCode(D)) // Use the expansion location as spelling location is not interesting. |