Extract code dealing with variable declarator into a separate function.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62300 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index ec3aafc..aabc9c1 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -277,9 +277,12 @@
   }
   DeclTy *ActOnDeclarator(Scope *S, Declarator &D, DeclTy *LastInGroup,
                           bool IsFunctionDefinition);
+  ScopedDecl* ActOnVariableDeclarator(Scope* S, Declarator& D, DeclContext* DC,
+                                      QualType R, ScopedDecl* LastDeclarator,
+                                      Decl* PrevDecl, bool& InvalidDecl);
   ScopedDecl* ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC,
                                       QualType R, ScopedDecl *LastDeclarator,
-                                      Decl* PreDecl, bool IsFunctionDefinition,
+                                      Decl* PrevDecl, bool IsFunctionDefinition,
                                       bool& InvalidDecl);
   virtual DeclTy *ActOnParamDeclarator(Scope *S, Declarator &D);
   virtual void ActOnParamDefaultArgument(DeclTy *param,