[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:
parent
b917390549
commit
c59de6ca1d
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue