diff options
| author | Erich Keane <erich.keane@intel.com> | 2022-05-16 07:55:35 -0700 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2022-05-17 06:21:51 -0700 |
| commit | 6da3d66f03f9162ef341cc67218be40e22fe9808 (patch) | |
| tree | f3c544b897072f91df8090afd9455d74c10fc0b3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 86bc6399a063439f2c58f9eed3ee6bf2d9276bf6 (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
