2020-02-25 15:11:52 +00:00
|
|
|
//===-- lib/Semantics/rewrite-parse-tree.h ----------------------*- C++ -*-===//
|
2018-05-01 12:50:34 -07:00
|
|
|
//
|
2019-12-20 12:52:07 -08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-05-01 12:50:34 -07:00
|
|
|
//
|
2020-01-10 12:12:03 -08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2018-05-01 12:50:34 -07:00
|
|
|
|
2018-05-01 14:07:52 -07:00
|
|
|
#ifndef FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
|
|
|
|
#define FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
|
|
|
|
|
2018-04-18 15:06:35 -07:00
|
|
|
namespace Fortran::parser {
|
2018-09-14 15:04:50 -07:00
|
|
|
class Messages;
|
2018-04-26 15:44:29 -07:00
|
|
|
struct Program;
|
2020-03-28 21:00:16 -07:00
|
|
|
} // namespace Fortran::parser
|
2018-09-14 15:04:50 -07:00
|
|
|
namespace Fortran::semantics {
|
2018-10-22 07:37:38 -07:00
|
|
|
class SemanticsContext;
|
2018-10-25 05:55:23 -07:00
|
|
|
}
|
2018-04-18 15:06:35 -07:00
|
|
|
|
|
|
|
namespace Fortran::semantics {
|
2019-03-06 17:07:25 -08:00
|
|
|
bool RewriteParseTree(SemanticsContext &, parser::Program &);
|
2018-10-25 05:55:23 -07:00
|
|
|
}
|
2018-05-01 14:07:52 -07:00
|
|
|
|
2020-03-28 21:00:16 -07:00
|
|
|
#endif // FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
|