aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-relation.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-01-20 09:22:27 -0500
committerPatrick Palka <ppalka@redhat.com>2022-01-20 09:22:27 -0500
commit2cda2bfa3fd0f2a0122433d2d870843633e2a312 (patch)
tree261021dca91ceb2741f4aff2ab3e50271a7ceb8e /gcc/value-relation.cc
parentd63d9c3dd160dce24f0209f193b8e7388b19f712 (diff)
downloadgcc-2cda2bfa3fd0f2a0122433d2d870843633e2a312.zip
gcc-2cda2bfa3fd0f2a0122433d2d870843633e2a312.tar.gz
gcc-2cda2bfa3fd0f2a0122433d2d870843633e2a312.tar.bz2
c++: consistently diagnose bare CTAD placeholder in fn return type
Relax slightly the existing check for diagnosing a bare CTAD placeholder as the return type of a function declarator to also handle the abstract declarator case. gcc/cp/ChangeLog: * decl.cc (grokdeclarator): Diagnose a CTAD placeholder as function return type even when !funcdecl_p. gcc/testsuite/ChangeLog: * g++.dg/other/pr88187.C: Adjust expected C++17 diagnostic.
Diffstat (limited to 'gcc/value-relation.cc')
0 files changed, 0 insertions, 0 deletions