[flang-commits] [clang] [flang] [Clang][Driver][Test] Created test for unsupported driver options (PR #120900)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 28 12:55:58 PST 2025
GeorgeKA wrote:
- I should draw attention to a change I made when it comes to option prefixes. Put simply, I had to switch to using prefix "-" instead of "/" because of different error output for "/". I describe it [here](https://github.com/llvm/llvm-project/blob/1e6150bc23c3410945cddb9d1d33f6e57f5c3f60/clang/utils/generate_unsupported_in_drivermode.py#L404).
- Secondly, I had to add handling for matching option names, which was distinguished before by differing prefixes. Described [here](https://github.com/llvm/llvm-project/blob/1e6150bc23c3410945cddb9d1d33f6e57f5c3f60/clang/utils/generate_unsupported_in_drivermode.py#L450)
- Also, I moved the flang fc1 testing to _flang/test/Driver/unsupported_in_flang_fc1.f90_ in order to use `%flang_fc1`
https://github.com/llvm/llvm-project/pull/120900
More information about the flang-commits
mailing list