[flang] Use forward declarations to reduce includes

Original-commit: flang-compiler/f18@384af49342
Reviewed-on: https://github.com/flang-compiler/f18/pull/223
Tree-same-pre-rewrite: false
This commit is contained in:
Tim Keith 2018-11-05 15:03:46 -08:00
parent b917390549
commit c59de6ca1d
2 changed files with 6 additions and 3 deletions

View file

@ -19,6 +19,7 @@
#include "../common/idioms.h"
#include "../evaluate/common.h"
#include "../evaluate/fold.h"
#include "../evaluate/intrinsics.h"
#include "../evaluate/tools.h"
#include "../parser/parse-tree-visitor.h"
#include "../parser/parse-tree.h"

View file

@ -15,13 +15,15 @@
#ifndef FORTRAN_SEMANTICS_EXPRESSION_H_
#define FORTRAN_SEMANTICS_EXPRESSION_H_
#include "default-kinds.h"
#include "../evaluate/expression.h"
#include "../evaluate/intrinsics.h"
#include "../evaluate/type.h"
#include "../parser/parse-tree.h"
#include <optional>
namespace Fortran::parser {
class Expr;
class Program;
}
namespace Fortran::semantics {
class SemanticsContext;