R-Goc wrote: How was the naming decided here? Any reason it isn't made similar to maybe_unused, as in may_discard if we are going this way? Neither of these make great language sense to me though. Since we are applying it to the return value I'd say something like discardable would make the most sense as it describes the return value, like maybe_unused describes an argument for example. Was there an RFC for the name, and if not maybe it would be good to have one.
https://github.com/llvm/llvm-project/pull/154943 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits