http://llvm.org/bugs/show_bug.cgi?id=13190
Nick Lewycky <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #6 from Nick Lewycky <[email protected]> --- Looks like this one got fixed somewhere along the way: $ echo 'void (*bar)(void *x) __attribute__((nonnull)); > > int main(int argc, char *argv[]) > { > bar(0); > return 0; > } > ' | clang -x c++ - <stdin>:5:6: warning: null passed to a callee which requires a non-null argument [-Wnonnull] bar(0); ~^ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
