yaxunl added a comment. In D144011#4126553 <https://reviews.llvm.org/D144011#4126553>, @shafik wrote:
> If I look at the clang docs for Wconversion > <https://clang.llvm.org/docs/DiagnosticsReference.html#wconversion> I see it > includes `-Wshorten-64-to-32` which I believe this is a case of. I think > maybe the warning needs a better warning for this case? This is done for x86_64 on linux, where long long and long are both 64bit. https://godbolt.org/z/hd3qWW5jj CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144011/new/ https://reviews.llvm.org/D144011 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits