* c-common.c (warn_logical_not_parentheses): Print fixit hints. * c-common.h (warn_logical_not_parentheses): Update declaration. * c-typeck.c (parser_build_binary_op): Pass LHS to warn_logical_not_parentheses. * parser.c (cp_parser_binary_expression): Pass LHS to warn_logical_not_parentheses. * c-c++-common/Wlogical-not-parentheses-2.c: New test. Co-Authored-By: David Malcolm <dmalcolm@redhat.com> From-SVN: r239756 |
||
|---|---|---|
| .. | ||
| c-array-notation.c | ||
| c-aux-info.c | ||
| c-convert.c | ||
| c-decl.c | ||
| c-errors.c | ||
| c-fold.c | ||
| c-lang.c | ||
| c-lang.h | ||
| c-objc-common.c | ||
| c-objc-common.h | ||
| c-parser.c | ||
| c-tree.h | ||
| c-typeck.c | ||
| ChangeLog | ||
| config-lang.in | ||
| gccspec.c | ||
| Make-lang.in | ||