Removed special-casing in CFG construction for ParenExprs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41540 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/CFG.cpp b/AST/CFG.cpp
index b79bfe5..64a75b2 100644
--- a/AST/CFG.cpp
+++ b/AST/CFG.cpp
@@ -83,7 +83,6 @@
   
   CFGBlock* VisitStmt(Stmt* Statement);
   CFGBlock* VisitNullStmt(NullStmt* Statement);
-  CFGBlock* VisitParenExpr(ParenExpr* Statement);
   CFGBlock* VisitCompoundStmt(CompoundStmt* C);
   CFGBlock* VisitIfStmt(IfStmt* I);
   CFGBlock* VisitReturnStmt(ReturnStmt* R);
@@ -210,10 +209,7 @@
       Block->setTerminator(C);
       return addStmt(C->getCond());
     }
-    
-    case Stmt::ParenExprClass:
-      return WalkAST(cast<ParenExpr>(S)->getSubExpr(),AlwaysAddStmt);
-    
+
     case Stmt::BinaryOperatorClass: {
       BinaryOperator* B = cast<BinaryOperator>(S);
 
@@ -277,11 +273,6 @@
   return Block;
 }
 
-CFGBlock* CFGBuilder::VisitParenExpr(ParenExpr* Statement) {
-  return Visit(Statement->getSubExpr());
-}
-  
-
 CFGBlock* CFGBuilder::VisitCompoundStmt(CompoundStmt* C) {
   //   The value returned from this function is the last created CFGBlock
   //   that represents the "entry" point for the translated AST node.