Mercurial > hg > CbC > CbC_llvm
comparison flang/lib/Semantics/pointer-assignment.h @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
1 //===-- lib/Semantics/pointer-assignment.h --------------------------------===// | |
2 // | |
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
4 // See https://llvm.org/LICENSE.txt for license information. | |
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
6 // | |
7 //===----------------------------------------------------------------------===// | |
8 | |
9 #ifndef FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ | |
10 #define FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ | |
11 | |
12 #include "flang/Evaluate/expression.h" | |
13 #include "flang/Parser/char-block.h" | |
14 #include "flang/Semantics/type.h" | |
15 #include <string> | |
16 | |
17 namespace Fortran::evaluate::characteristics { | |
18 struct DummyDataObject; | |
19 } | |
20 | |
21 namespace Fortran::evaluate { | |
22 class FoldingContext; | |
23 } | |
24 | |
25 namespace Fortran::semantics { | |
26 | |
27 class Symbol; | |
28 | |
29 void CheckPointerAssignment( | |
30 evaluate::FoldingContext &, const evaluate::Assignment &); | |
31 void CheckPointerAssignment( | |
32 evaluate::FoldingContext &, const Symbol &lhs, const SomeExpr &rhs); | |
33 void CheckPointerAssignment(evaluate::FoldingContext &, | |
34 parser::CharBlock source, const std::string &description, | |
35 const evaluate::characteristics::DummyDataObject &, const SomeExpr &rhs); | |
36 | |
37 } // namespace Fortran::semantics | |
38 | |
39 #endif // FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ |