diff options
author | CarolineConcatto <51754594+CarolineConcatto@users.noreply.github.com> | 2020-02-25 15:11:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 07:11:52 -0800 |
commit | 64ab3302d5a130c00b66a6957b2e7f0c9b9c537d (patch) | |
tree | 7658afe96fac3d6dabd9c6aa2b471294c3ddfa7c /flang/lib/Semantics/pointer-assignment.h | |
parent | 456a61d188e9cdf43bd44e28e11708773d838798 (diff) | |
download | llvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.zip llvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.tar.gz llvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.tar.bz2 |
[flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980)
This patch renames the modules in f18 to use a capital letter in the
module name
Signed-off-by: Caroline Concatto <caroline.concatto@arm.com>
Original-commit: flang-compiler/f18@d2eb7a1c443d1539ef12b6f027074a0eb15b1ea0
Reviewed-on: https://github.com/flang-compiler/f18/pull/980
Diffstat (limited to 'flang/lib/Semantics/pointer-assignment.h')
-rw-r--r-- | flang/lib/Semantics/pointer-assignment.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/flang/lib/Semantics/pointer-assignment.h b/flang/lib/Semantics/pointer-assignment.h new file mode 100644 index 0000000..31131a3 --- /dev/null +++ b/flang/lib/Semantics/pointer-assignment.h @@ -0,0 +1,39 @@ +//===-- lib/Semantics/pointer-assignment.h --------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ +#define FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ + +#include "flang/Evaluate/expression.h" +#include "flang/Parser/char-block.h" +#include "flang/Semantics/type.h" +#include <string> + +namespace Fortran::evaluate::characteristics { +struct DummyDataObject; +} + +namespace Fortran::evaluate { +class FoldingContext; +} + +namespace Fortran::semantics { + +class Symbol; + +void CheckPointerAssignment( + evaluate::FoldingContext &, const evaluate::Assignment &); +void CheckPointerAssignment( + evaluate::FoldingContext &, const Symbol &lhs, const SomeExpr &rhs); +void CheckPointerAssignment(evaluate::FoldingContext &, + parser::CharBlock source, const std::string &description, + const evaluate::characteristics::DummyDataObject &, const SomeExpr &rhs); + +} + +#endif // FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_ |