Files
clang-p2996/flang/lib/Semantics/check-declarations.cpp
Peter Klausler c1c9929028 [flang] Allow a few irrelevant attributes, with warning (#117374)
INTENT, VALUE, and OPTIONAL attributes apply only to dummy arguments. A
couple older compilers accept them, usually with a warning, if they are
applied to names that are not dummy arguments, and they show up in some
older non-portable source code. Change these cases into stern warnings
by default.
2024-12-02 12:25:21 -08:00

162 KiB