riyaz86a wrote: Thanks for the suggestion, I have updated the implementation to expose `-fms-anonymous-structs` as a Clang driver option instead of CC1 only. The driver now forwards the option to CC1 and argument ordering is respected (last option wins) when `-fms-anonymous-structs`, `-fno-ms-anonymous-structs`, `-fms-extensions` and `-fms-compatibility`.
> [GCC has recently talked about doing something > similar](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123623) so it would be > nice to agree on the name of the driver option. I have used `-fms-anonymous-structs` as driver option to enable anonymous structure extension. Please let me know if you would recommend a different or more appropriate option name. https://github.com/llvm/llvm-project/pull/176551 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
