Lines Matching defs:assignment
1 //===-- lib/Semantics/pointer-assignment.cpp ------------------------------===//
9 #include "pointer-assignment.h"
30 // Semantic checks for pointer assignment.
150 "The left-hand side of a pointer assignment is not definable"_err_en_US)}) {
155 Say("The left-hand side of a pointer assignment must not be an assumed-rank dummy argument"_err_en_US);
209 "A pure subprogram may not use '%s' as the target of pointer assignment because it is %s"_err_en_US,
318 msg = "In assignment to procedure %s, the target is not a procedure or"
321 msg = "In assignment to object %s, the target '%s' is not an object with"
395 "Statement function '%s' may not be the target of a pointer assignment"_err_en_US,
402 "Procedure binding '%s' used as target of a pointer assignment"_port_en_US,
482 // Verify that any bounds on the LHS of a pointer assignment are valid.
485 evaluate::FoldingContext &context, const evaluate::Assignment &assignment) {
487 const SomeExpr &lhs{assignment.lhs};
488 const SomeExpr &rhs{assignment.rhs};
521 DIE("not valid for pointer assignment");
524 assignment.u)};
541 const evaluate::Assignment &assignment, const Scope &scope) {
542 return CheckPointerAssignment(context, assignment.lhs, assignment.rhs, scope,
543 CheckPointerBounds(context.foldingContext(), assignment),