minor cleanup, remove finalize method.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55216 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp
index a5e73cc..330c22d 100644
--- a/lib/Parse/Parser.cpp
+++ b/lib/Parse/Parser.cpp
@@ -281,13 +281,6 @@
   return false;
 }
 
-/// Finalize - Shut down the parser.
-///
-void Parser::Finalize() {
-  ExitScope();
-  assert(CurScope == 0 && "Scope imbalance!");
-}
-
 /// ParseTranslationUnit:
 ///       translation-unit: [C99 6.9]
 ///         external-declaration
@@ -298,8 +291,9 @@
   DeclTy *Res;
   while (!ParseTopLevelDecl(Res))
     /*parse them all*/;
-
-  Finalize();
+  
+  ExitScope();
+  assert(CurScope == 0 && "Scope imbalance!");
 }
 
 /// ParseExternalDeclaration: