================ @@ -9913,11 +9913,11 @@ def warn_new_dangling_initializer_list : Warning< "will be destroyed at the end of the full-expression">, InGroup<DanglingInitializerList>; def warn_unsupported_lifetime_extension : Warning< - "sorry, lifetime extension of " + "lifetime extension of " "%select{temporary|backing array of initializer list}0 created " - "by aggregate initialization using default member initializer " + "by aggregate initialization using a default member initializer " "is not supported; lifetime of %select{temporary|backing array}0 " - "will end at the end of the full-expression">, InGroup<Dangling>; + "will terminate at the end of the full-expression">, InGroup<Dangling>; ---------------- cor3ntin wrote:
end is the more correct terminology here, it is a term of art - and we should avoid overloading "terminate" https://github.com/llvm/llvm-project/pull/76310 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits