C++ : Adjust warning for misplaced attributes.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 27 Nov 2020 23:02:45 +0000 (23:02 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 1 Dec 2020 11:25:03 +0000 (11:25 +0000)
commit31f76c9065b4579d263586b069cea2e79a2c4203
treef7e784e42f4a1a2ea82d329dc1d07592290d4c84
parent3940daff128a995693b405f47dc706b9622c861b
C++ : Adjust warning for misplaced attributes.

This removes the reference to Objective-C++ for the warning that
attributes may not be placed before linkage specifications.  It also
adds a note that they may be placed after that.

gcc/cp/ChangeLog:

* parser.c (cp_parser_declaration): Add a not about where
attributes may be placed.
gcc/cp/parser.c