def warn_condition_is_assignment : Warning<"using the result of an "
"assignment as a condition without parentheses">,
- InGroup<Parentheses>, DefaultIgnore;
+ InGroup<Parentheses>;
def warn_value_always_zero : Warning<"%0 is always zero in this context">;
def warn_value_always_false : Warning<"%0 is always false in this context">;
int f8(int *p) {
extern int *baz();
- if (p = baz()) // expected-warning{{Although the value}}
+ if ((p = baz())) // expected-warning{{Although the value}}
return 1;
return 0;
}