================ @@ -1043,6 +1045,38 @@ def warn_npot_ms_struct : Warning< def err_itanium_layout_unimplemented : Error< "Itanium-compatible layout for the Microsoft C++ ABI is not yet supported">; +// Unsupported features in name mangling +def err_itanium_mangle_fixed_point_literal + : Error<"cannot mangle fixed point literals yet">; +def err_itanium_mangle_dependent_neon_vector + : Error<"cannot mangle this dependent neon vector type yet">; +def err_itanium_mangle_dependent_fixed_length_sve_vector + : Error<"cannot mangle this dependent fixed-length SVE vector type yet">; +def err_itanium_mangle_dependent_fixed_length_rvv_vector + : Error<"cannot mangle this dependent fixed-length RVV vector type yet">; +def err_itanium_mangle_requires_expr_with_substitution_failure + : Error<"cannot mangle this requires-expression containing a substitution " + "failure">; +def err_itanium_mangle_unsupported_expr_type + : Error<"cannot yet mangle expression type %0">; +def err_itanium_mangle_ternary_omitted_operand + : Error<"?: operator with omitted middle operand cannot be mangled">; +def err_itanium_mangle_unsupported_expr + : Error<"cannot yet mangle %0 expression">; +def err_itanium_mangle_openacc_asterisk_size_expr + : Error<"cannot yet mangle OpenACC Asterisk Size expression">; +def err_itanium_mangle_unnamed_union_nttp + : Error<"cannot mangle this unnamed union NTTP yet">; ---------------- dbartol wrote:
We could, but I'd prefer not to do that for a couple reasons: 1. I'm not familiar with the actual diagnostics being emitted, so I'm trying to avoid changing the existing logic. 2. The "select" pattern tends to make localization (translation) of diagnostic messages more difficult. It seems that localization of Clang diagnostics is still just an item on our "wish list", but I'd rather not change things that will make it more difficult. https://github.com/llvm/llvm-project/pull/172532 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
