[clang] [Clang] Implement the core language parts of P2786 - Trivial relocation (PR #127636)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 21:52:34 PST 2025


================
@@ -12427,6 +12427,11 @@ def err_builtin_invalid_arg_type: Error <
   "an 'int'|"
   "a vector of floating points}1 (was %2)">;
 
+def err_builtin_trivially_relocate_invalid_arg_type: Error <
+  "first%select{||| and second}0 argument%select{|||s}0 to "
----------------
zyn0217 wrote:

Can we use `%plural` or `%s` format specifier? Moreover, we might want to replace `%select` with `%enum_select`

https://github.com/llvm/llvm-project/pull/127636


More information about the cfe-commits mailing list