[flang] Remove work-around in resolve-names.cc.
authorpeter klausler <pklausler@nvidia.com>
Wed, 13 Jun 2018 17:36:56 +0000 (10:36 -0700)
committerpeter klausler <pklausler@nvidia.com>
Thu, 14 Jun 2018 20:53:05 +0000 (13:53 -0700)
Original-commit: flang-compiler/f18@5dc0e037f59f6e58d45d7f65ec52e7cd5525b78c
Reviewed-on: https://github.com/flang-compiler/f18/pull/101
Tree-same-pre-rewrite: false

flang/lib/semantics/resolve-names.cc

index d1b7d55..61f7dbc 100644 (file)
@@ -586,16 +586,6 @@ public:
   bool Pre(const parser::CallStmt &);
   void Post(const parser::CallStmt &);
 
-  // TODO(tkeith): Needed for clang build only (!?)
-  bool Pre(const parser::ProcedureDeclarationStmt &stmt) {
-    return DeclarationVisitor::Pre(stmt) ||
-           ImplicitRulesVisitor::Pre(stmt);
-  }
-  void Post(const parser::ProcedureDeclarationStmt &stmt) {
-    DeclarationVisitor::Post(stmt);
-    ImplicitRulesVisitor::Post(stmt);
-  }
-
 private:
   // Kind of procedure we are expecting to see in a ProcedureDesignator
   std::optional<Symbol::Flag> expectedProcFlag_;