aboutsummaryrefslogtreecommitdiff
path: root/include-fixer
diff options
context:
space:
mode:
authorPiotr Padlewski <piotr.padlewski@gmail.com>2016-12-14 15:29:23 +0000
committerPiotr Padlewski <piotr.padlewski@gmail.com>2016-12-14 15:29:23 +0000
commit2cd835ee5bcd6c4944d7e30826668ec38db40b38 (patch)
tree2bc808fbc178d42948b8ae138e1ee3d696ec6c8b /include-fixer
parent0d8381bb69ca54a450b730ff3ee59133ecd0d09a (diff)
downloadclang-tools-extra-2cd835ee5bcd6c4944d7e30826668ec38db40b38.tar.gz
modernize-use-auto NFC fixes
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@289656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include-fixer')
-rw-r--r--include-fixer/find-all-symbols/FindAllSymbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include-fixer/find-all-symbols/FindAllSymbols.cpp b/include-fixer/find-all-symbols/FindAllSymbols.cpp
index 60c0615c..d37918fe 100644
--- a/include-fixer/find-all-symbols/FindAllSymbols.cpp
+++ b/include-fixer/find-all-symbols/FindAllSymbols.cpp
@@ -211,7 +211,7 @@ void FindAllSymbols::run(const MatchFinder::MatchResult &Result) {
return;
}
- const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("decl");
+ const auto *ND = Result.Nodes.getNodeAs<NamedDecl>("decl");
assert(ND && "Matched declaration must be a NamedDecl!");
const SourceManager *SM = Result.SourceManager;