[clang] [Clang][Driver][Test] Created test for unsupported driver options (PR #120900)

Mészáros Gergely via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 22 12:20:47 PST 2024


Maetveis wrote:

Hi,Thanks for working on this issue. I wanted to preface this by feel free to ignore this during the holidays, zero pressure. I like to interact with the community in my free time, but that obviously does not need to extend to everyone :).

What kind of failures are you seeing in the generated test? There shouldn't be any afaict if the script works correctly, as Options.td IS the source where the parsing code for the various drivers are generated from. Are you perhaps missing the case where there is no visibility specified at all and it should be assumed to be `DefaultVisibility`, i.e. the gcc compatible clang driver?

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


More information about the cfe-commits mailing list