aboutsummaryrefslogtreecommitdiff
path: root/include-fixer
diff options
context:
space:
mode:
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;