efriedma added a comment.

> The internal canonical types are compared, so all this typedef sugar will be 
> silently ignored.

Yes, and that's precisely the problem.  On many 32-bit platforms, both "size_t" 
and "uint32_t" are typedefs for "unsigned int"; on some 32-bit platforms, 
"size_t" is an "unsigned long".  So whether this patch suppresses the warning 
for a comparison between size_t and uint32_t depends on the target ABI.


Repository:
  rL LLVM

https://reviews.llvm.org/D39462



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

Reply via email to