zygoloid wrote:

How about instead using `-fvisibility-global-new-delete=<value>`? We want a 
mutually-exclusive set of options here, and we know we want more than two of 
them, and a flag with an argument value is the way we usually express that.

Perhaps we can use values of `force-hidden`, `force-default` to force the 
visibility to specific things, and something like `unconstrained` or `source` 
to say "use the normal visibility calculation"? (It's a bit unfortunate that we 
can't use `default` for that, given that it means something else...) 
`-fvisibility-global-new-delete-hidden` could then be converted into a 
deprecated synonym for `-fvisibility-global-new-delete=force-hidden`.

https://github.com/llvm/llvm-project/pull/75364
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to