diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-05-02 18:36:40 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-05-02 18:36:40 +0000 |
commit | 474e0129ac2e906caa667eb7a9a7682afeec41aa (patch) | |
tree | 8d26fa504b2e7220ab6773ed0be0b990af6b247d /gcc/c/c-parser.c | |
parent | 4877b5a4ac000f13c9e167710d1b060eff5764f4 (diff) | |
download | gcc-474e0129ac2e906caa667eb7a9a7682afeec41aa.zip gcc-474e0129ac2e906caa667eb7a9a7682afeec41aa.tar.gz gcc-474e0129ac2e906caa667eb7a9a7682afeec41aa.tar.bz2 |
PR c++/62314: add fixit hint for missing "template <> " in explicit specialization
gcc/cp/ChangeLog:
PR c++/62314
* parser.c (cp_parser_class_head): Capture the start location;
use it to emit a fix-it insertion hint when complaining
about missing "template <> " in explicit specializations.
gcc/testsuite/ChangeLog:
PR c++/62314
* g++.dg/pr62314.C: New test case.
From-SVN: r235777
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions