llvm-project/flang/test
Tim Keith a3538b8394 [flang] Improve error messages for procedures in expressions
When a procedure name was used on the RHS of an assignment we were not
reporting the error. When one was used in an expression the error
message wasn't very good (e.g. "Operands of + must be numeric; have
INTEGER(4) and untyped").

Detect these cases in ArgumentAnalyzer and emit better messages,
depending on whether the named procedure is a function or subroutine.

Procedure names may appear as actual arguments to function and
subroutine calls so don't report errors in those cases. That is the same
case where assumed type arguments are allowed, so rename `isAssumedType_`
to `isProcedureCall_` and use that to decide if it is an error.

Differential Revision: https://reviews.llvm.org/D86107
2020-08-18 10:47:55 -07:00
..
Driver Revert "[flang] Version information in flang/f18" 2020-08-11 08:41:57 +01:00
Evaluate [flang] Implement shape analysis of TRANSFER intrinsic function result 2020-08-13 09:56:24 -07:00
Fir [flang] Upstream recent work on FIR to llvm-project. 2020-04-27 17:48:57 -07:00
Lower [flang][openacc] Handle optional end directive in combined construct 2020-08-13 14:05:00 -04:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang] Allow compiler directives in more places 2020-08-11 08:37:27 -07:00
Preprocessing [flang] Add preprocessor test for defines passed on the command line 2020-08-17 14:35:46 +01:00
Semantics [flang] Improve error messages for procedures in expressions 2020-08-18 10:47:55 -07:00
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [Flang] Fix multi-config generator builds 2020-08-05 08:59:11 +01:00
lit.cfg.py [Flang] Fix multi-config generator builds 2020-08-05 08:59:11 +01:00
lit.site.cfg.py.in [Flang] Fix multi-config generator builds 2020-08-05 08:59:11 +01:00