forked from OSchip/llvm-project
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:
parent
e1db1cf0c3
commit
3f3957ce04
|
@ -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">;
|
||||
|
|
Loading…
Reference in New Issue