llvm-project/flang/lib
Tim Keith d8713523a2 [flang] Improve message for assignment to subprogram
In the example below we were producing the error message
"Assignment to constant 'f' is not allowed":
```
function f() result(r)
  f = 1.0
end
```

This changes it to a more helpful message when the LHS is a subprogram
name and also mentions the function result name when it's a function.

Differential Revision: https://reviews.llvm.org/D85483
2020-08-06 20:34:00 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal Remove unneeded RoundDefault enumerator, and fix spelling in comments 2020-08-03 16:14:24 -07:00
Evaluate Remove unneeded RoundDefault enumerator, and fix spelling in comments 2020-08-03 16:14:24 -07:00
Lower [flang][msvc] Do not use gcc/clang command line options for msvc. 2020-08-06 15:46:52 -05:00
Optimizer [flang][msvc] Do not use gcc/clang command line options for msvc. 2020-08-06 15:46:52 -05:00
Parser [flang] Add parser support for OpenMP allocate clause 2020-08-06 10:45:34 +01:00
Semantics [flang] Improve message for assignment to subprogram 2020-08-06 20:34:00 -07:00
CMakeLists.txt [flang] A rework of the cmake build components for in and out of tree builds. 2020-03-26 18:17:04 +00:00