rsmith added a comment. Thanks, this seems like a useful feature to me.
Would it make sense to model this as an (optional) extra flag bit for `__builtin_object_size` rather than as a new builtin? It'd seem reasonable to me to ask on the gcc dev list if they'd be interested in such an extension to their builtin -- if not, then we should use a new name, and something like this seems fine to me. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56760/new/ https://reviews.llvm.org/D56760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits