Szelethus added a comment.

Sure, this is an improvement because we display more information, but I'd argue 
that it isn't really a more readable warning message :) How about

<argno>th argument to the call to <function name>

- cannot be represented with a character
- is a null pointer
- ...

, which violates the function's preconditions.

WDYT?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79431



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

Reply via email to