Turn -Wnull-arithmetic back on by default -- we now have tests for the

false positives, including those in the GCC test suite, and don't warn
about them.

Let me know if this causes fallout, we can turn it back off if needed.

llvm-svn: 133384
This commit is contained in:
Chandler Carruth 2011-06-19 09:05:19 +00:00
parent e1db1cf0c3
commit 3f3957ce04
1 changed files with 1 additions and 1 deletions

View File

@ -2999,7 +2999,7 @@ def warn_comparison_of_mixed_enum_types : Warning<
InGroup<DiagGroup<"enum-compare">>;
def warn_null_in_arithmetic_operation : Warning<
"use of NULL in arithmetic operation">,
InGroup<DiagGroup<"null-arithmetic">>, DefaultIgnore;
InGroup<DiagGroup<"null-arithmetic">>;
def err_invalid_this_use : Error<
"invalid use of 'this' outside of a nonstatic member function">;