]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
[C, C++] Use correct location information for OpenACC shape and simple clauses
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 22 Feb 2019 10:49:43 +0000 (11:49 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 22 Feb 2019 10:49:43 +0000 (11:49 +0100)
commit2263c9f24f5d46d6033e8a0804bcfca991f85f49
treef330c0245b5f793d1ca2b2c26de5e55977735a3b
parent81a5f36d669aeea5333de16d2a3d6d1ff60ca842
[C, C++] Use correct location information for OpenACC shape and simple clauses

gcc/c/
* c-parser.c (c_parser_oacc_shape_clause): Add loc formal
parameter.  Adjust all users.
(c_parser_oacc_simple_clause): Replace parser with loc formal
parameter.  Adjust all users.
gcc/cp/
* parser.c (cp_parser_oacc_simple_clause): Remove parser formal
parameter, move loc formal parameter to the front.  Adjust all
users.
(cp_parser_oacc_shape_clause): Add loc formal parameter.  Adjust
all users.

From-SVN: r269102
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c