ahatanak added a comment.

OK, thanks for looking into it. Warnings for ObjCMessageExpr can probably be 
implemented in a separate patch.

It looks like clang still doesn't issue overflow warnings when the called 
functions have a void return. Should we try to fix it in this patch too?

  void foo(int);
  
  void test0() {
    foo(4068 * 1024 * 1024); // no warnings
  }


https://reviews.llvm.org/D31839



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

Reply via email to