http://llvm.org/bugs/show_bug.cgi?id=16074
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #3 from [email protected] --- Committed at r202216. -Wbool-conversion has been extended and -Wtautological-pointer-compare have been created. Most cases caught by gcc's -Waddress is now caught by Clang's warnings. I believe that gcc's -Waddress will now be covered by Clang's -Wbool-conversion, -Wtautological-pointer-compare, and -Wstring-compare. -Wbool-conversion contains an extra warning (bool false to null pointer) not in gcc's -Waddress. In addition, Clang does not warn on the following case, but gcc does: void foo(); if (&foo) {} Clang would warn if the address of operator was not there. -- 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
