aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2020-04-24 21:16:59 -0400
committerPatrick Palka <ppalka@redhat.com>2020-04-24 21:16:59 -0400
commit5e7e8b98f49eda9ffb9817d97975a211c87c5a53 (patch)
tree1f66407215327fc43c4a91aed1623e9ef015abf4 /ar-lib
parent018730326d878d98b85b1256ff220e76665ed97e (diff)
downloadgcc-5e7e8b98f49eda9ffb9817d97975a211c87c5a53.zip
gcc-5e7e8b98f49eda9ffb9817d97975a211c87c5a53.tar.gz
gcc-5e7e8b98f49eda9ffb9817d97975a211c87c5a53.tar.bz2
c++: add "'requires' only available with ..." note
This adds a note suggesting to enable concepts whenever 'requires' is parsed as an invalid type name with concepts disabled. gcc/cp/ChangeLog: * parser.c (cp_parser_diagnose_invalid_type_name): Suggest enabling concepts if the invalid identifier is 'requires'. gcc/testsuite/ChangeLog: * g++.dg/concepts/diagnostic11.C: New test.
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions