[flang-commits] [clang] [flang] [Flang][Driver] NFC: Move Flang/Fortran only options to a separate file (PR #194398)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Tue Apr 28 04:11:47 PDT 2026


kiranchandramohan wrote:

> The documentation in `flang/docs/FlangDriver.md` should be updated as well.
> 
> We should make it clear which options should go in `FlangOptions.td` and which should go in `ClangOptions.td`. I think "flang-only" options should go in the former, but anything that is also visible in at least one other frontend should be in `ClangOptions.td`. Does that sound reasonable?

Yes, that makes sense. I have added some changes to FlangDriver.md. Let me know if I should add more to make it a requirement. 

Note: It is still Options.td. In future it might make sense to move Clang only options to ClangOptions.td.

Thanks for having a detailed look.

https://github.com/llvm/llvm-project/pull/194398


More information about the flang-commits mailing list