[PATCH] D113874: [clang] Propagate requires-clause from constructor template to implicit deduction guide

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 03:55:56 PST 2022


kadircet added a comment.

As for testing strategy, after this change the AST should look different. You can probably modify `clang/test/SemaTemplate/deduction-guide.cpp` to check for existence of requires clauses in the implicitly generated function templates for guides.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113874/new/

https://reviews.llvm.org/D113874



More information about the cfe-commits mailing list