zygoloid wrote:

To be clear: I didn't mean to suggest that 
`-fvisibility-global-new-delete=force-hidden` itself would be deprecated. I 
think supporting it would have low cost and it may be exactly what is desired 
in some cases, and the previous spelling [has quite a few 
uses](https://www.google.com/search?q=%22-fvisibility-global-new-delete-hidden%22).
 Instead, what I'd suggest is that we add the more-general mechanism of 
`-fvisibility-global-new-delete=<value>` and make the existing 
`-fvisibility-global-new-delete-hidden` equivalent to 
`-fvisibility-global-new-delete=force-hidden`, except that the former spelling 
is deprecated and the latter spelling is not.

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