[cfe-dev] RFC: Fortran optoins in Clang
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Thu Apr 8 09:44:36 PDT 2021
On Thu, Apr 08, 2021 at 03:59:25PM +0100, Andrzej Warzynski via cfe-dev wrote:
> What should Clang do when using options that are reserved for Flang (i.e.
> that only make sense for Fortran input)? Should this be a warning or an
> error?
I think warning and codegen options should be claimed only if the
corresponding language frontend is actually active. I think we have some
existing cases for that with Objective-C and C++ interaction. So just
extend that?
Joerg
More information about the cfe-dev
mailing list