modernize-use-auto NFC fixes

llvm-svn: 289656
diff --git a/clang-tools-extra/clang-tidy/misc/MoveForwardingReferenceCheck.cpp b/clang-tools-extra/clang-tidy/misc/MoveForwardingReferenceCheck.cpp
index 986edea..12c19dd 100644
--- a/clang-tools-extra/clang-tidy/misc/MoveForwardingReferenceCheck.cpp
+++ b/clang-tools-extra/clang-tidy/misc/MoveForwardingReferenceCheck.cpp
@@ -104,8 +104,7 @@
 
   // Get the FunctionDecl and FunctionTemplateDecl containing the function
   // parameter.
-  const FunctionDecl *FuncForParam =
-      dyn_cast<FunctionDecl>(ParmVar->getDeclContext());
+  const auto *FuncForParam = dyn_cast<FunctionDecl>(ParmVar->getDeclContext());
   if (!FuncForParam)
     return;
   const FunctionTemplateDecl *FuncTemplate =