[PATCH] D147070: Improve requirement clause limitation on non templated function

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 14:38:13 PDT 2023


shafik accepted this revision.
shafik added a comment.

LGTM



================
Comment at: clang/lib/Sema/SemaDecl.cpp:11877
     // member-declarator shall be present only if the declarator declares a
     // templated function ([dcl.fct]).
     if (Expr *TRC = NewFD->getTrailingRequiresClause()) {
----------------
The cross reference was fixed: https://github.com/cplusplus/draft/pull/6215


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

https://reviews.llvm.org/D147070



More information about the cfe-commits mailing list