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/modernize/UseOverrideCheck.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/modernize/UseOverrideCheck.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp | 2 |
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); |

