diff options
| author | Piotr Padlewski <piotr.padlewski@gmail.com> | 2016-12-14 15:29:23 +0000 |
|---|---|---|
| committer | Piotr Padlewski <piotr.padlewski@gmail.com> | 2016-12-14 15:29:23 +0000 |
| commit | 08124b110a9e1ffc285998db1abd42e72ab83c8b (patch) | |
| tree | f725b8751aa4b9e95f1791bd97775d39afbcadce /clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp | |
| parent | facbd356963fcf417062e2838d676b1b29ebcf00 (diff) | |
| download | bcm5719-llvm-08124b110a9e1ffc285998db1abd42e72ab83c8b.tar.gz bcm5719-llvm-08124b110a9e1ffc285998db1abd42e72ab83c8b.zip | |
modernize-use-auto NFC fixes
llvm-svn: 289656
Diffstat (limited to 'clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp b/clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp index b7a218ae055..d9e71127690 100644 --- a/clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp @@ -57,7 +57,7 @@ static std::string getNamespaceComment(const NamespaceDecl *ND, } void NamespaceCommentCheck::check(const MatchFinder::MatchResult &Result) { - const NamespaceDecl *ND = Result.Nodes.getNodeAs<NamespaceDecl>("namespace"); + const auto *ND = Result.Nodes.getNodeAs<NamespaceDecl>("namespace"); const SourceManager &Sources = *Result.SourceManager; if (!locationsInSameFile(Sources, ND->getLocStart(), ND->getRBraceLoc())) |

