aaron.ballman added inline comments.

================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:7783-7784
   "|%diff{casting $ to type $|casting between types}0,1}2"
-  " converts between pointers to integer types with different sign">,
+  " converts between pointers to integer types that differ by"
+  " signed/unsigned/plain variation">,
   InGroup<DiagGroup<"pointer-sign">>;
----------------
I fee like `that differ by signed/unsigned/plain variation` is a bit hard for 
users to understand and maybe we want to spell it out a bit more explicitly. I 
took a stab at a more wordy diagnostic that I think is easier to understand, 
but if you have other ideas, I'm not tied to my wording. WDYT?

(Same suggestion applies below -- though we may want to switch to 
`ext_typecheck_convert_incompatible_pointer_sign.Text` below rather than 
spelling all this out manually.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93999/new/

https://reviews.llvm.org/D93999

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to