aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-omp.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-12-18 12:02:38 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2024-12-18 12:02:38 +0100
commit84794671859ae8eb54ff81c7d3e32b4db8686024 (patch)
tree154100bb1335b0abefd5b3fcddba77e2b8371982 /gcc/c-family/c-omp.cc
parent7eb2acb7221b5a219ece1a693d9ac594f229a61a (diff)
downloadgcc-84794671859ae8eb54ff81c7d3e32b4db8686024.zip
gcc-84794671859ae8eb54ff81c7d3e32b4db8686024.tar.gz
gcc-84794671859ae8eb54ff81c7d3e32b4db8686024.tar.bz2
c++: Use type_id_in_expr_sentinel in 6 further spots in the parser
The following patch uses type_id_in_expr_sentinel in a few spots which did it all manually. 2024-12-18 Jakub Jelinek <jakub@redhat.com> * parser.cc (cp_parser_postfix_expression): Use type_id_in_expr_sentinel instead of manually saving+setting/restoring parser->in_type_id_in_expr_p around cp_parser_type_id calls. (cp_parser_has_attribute_expression): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_sizeof_operand): Likewise.
Diffstat (limited to 'gcc/c-family/c-omp.cc')
0 files changed, 0 insertions, 0 deletions