Skip to content

Commit

Permalink
Turn -Wnull-arithmetic back on by default -- we now have tests for the
Browse files Browse the repository at this point in the history
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133384 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chandlerc committed Jun 19, 2011
1 parent 2af68e4 commit 732271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/clang/Basic/DiagnosticSemaKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -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">;
Expand Down

0 comments on commit 732271e

Please sign in to comment.