aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-10-30 19:04:53 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-10-30 19:04:53 +0000
commitff6304874e9f0c56ef675deb7f71124348fae922 (patch)
treecf00bde39e4174f28857d66ad2019885c457b8c7 /gcc/gcc.c
parentb832b29f6578d3171e41d084b7a8432a24c5bf62 (diff)
downloadgcc-ff6304874e9f0c56ef675deb7f71124348fae922.zip
gcc-ff6304874e9f0c56ef675deb7f71124348fae922.tar.gz
gcc-ff6304874e9f0c56ef675deb7f71124348fae922.tar.bz2
[C++ PATCH] operator name cleanup prepatch
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02240.html cp/ * call.c (build_op_call_1): Test for FUNCTION_DECL in same manner as a few lines earlier. * cp-tree.h (PACK_EXPANSION_PATTERN): Fix white space. * decl.c (grokfndecl): Fix indentation. (compute_array_index_type): Use processing_template_decl_sentinel. (grok_op_properties): Move warnings to end. Reorder other checks to group similar entities. Tweak diagnostics. * lex.c (unqualified_name_lookup_error): No need to check name is not ERROR_MARK operator. * parser.c (cp_parser_operator): Select operator code before looking it up. * typeck.c (check_return_expr): Fix indentation and line wrapping. testsuite/ * g++.dg/other/operator2.C: Adjust diagnostic. * g++.old-deja/g++.jason/operator.C: Likewise. From-SVN: r254238
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions