summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
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
commit08124b110a9e1ffc285998db1abd42e72ab83c8b (patch)
treef725b8751aa4b9e95f1791bd97775d39afbcadce /clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
parentfacbd356963fcf417062e2838d676b1b29ebcf00 (diff)
downloadbcm5719-llvm-08124b110a9e1ffc285998db1abd42e72ab83c8b.tar.gz
bcm5719-llvm-08124b110a9e1ffc285998db1abd42e72ab83c8b.zip
modernize-use-auto NFC fixes
llvm-svn: 289656
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
index 574d1a77b40..be01d21586d 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
@@ -60,7 +60,7 @@ static StringRef GetText(const Token &Tok, const SourceManager &Sources) {
}
void UseOverrideCheck::check(const MatchFinder::MatchResult &Result) {
- const FunctionDecl *Method = Result.Nodes.getNodeAs<FunctionDecl>("method");
+ const auto *Method = Result.Nodes.getNodeAs<FunctionDecl>("method");
const SourceManager &Sources = *Result.SourceManager;
assert(Method != nullptr);
OpenPOWER on IntegriCloud