[clang] [clang] consistently quote expressions in diagnostics (PR #134769)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 20:14:04 PDT 2025


================
@@ -143,8 +143,8 @@ def note_constexpr_null_subobject : Note<
   "access array element of|perform pointer arithmetic on|"
   "access real component of|"
   "access imaginary component of}0 null pointer">;
-def note_constexpr_null_callee : Note<
-  "'%0' evaluates to a null function pointer">;
+def note_constexpr_null_callee
+    : Note<"%0 evaluates to a null function pointer">;
----------------
zyn0217 wrote:

Just out of curiosity: do you have a formatter running for td files? I hardly remembered clang-format would handle it.

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


More information about the cfe-commits mailing list