llvm-project/clang/test/CXX/dcl
Erich Keane 6da3d66f03 [concepts] Implement dcl.decl.general p4: No constraints on non-template funcs
The standard says:
The optional requires-clause ([temp.pre]) in an init-declarator or
member-declarator shall be present only if the declarator declares a
templated function ([dcl.fct]).

This implements that limitation, and updates the tests to the best of my
ability to capture the intent of the original checks.

Differential Revision: https://reviews.llvm.org/D125711
2022-05-17 06:21:51 -07:00
..
dcl.decl [concepts] Implement dcl.decl.general p4: No constraints on non-template funcs 2022-05-17 06:21:51 -07:00
dcl.fct
dcl.spec/dcl.type/dcl.spec.auto [clang] fix transformation of template arguments of 'auto' type constraints 2021-09-08 03:22:34 +02:00