[PATCH] D146178: [Clang][Sema] Fix comparison of constraint expressions

Erich Keane via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 19:25:53 PDT 2023


erichkeane added inline comments.


================
Comment at: clang/test/SemaTemplate/concepts-out-of-line-def.cpp:143
+template <>
+template <Concept C>
+constexpr int S<1>::constrained_method() { return CONSTRAINED_METHOD_1; }
----------------
Would also like tests with packs both at this function level, and at the containing type, as well as a type constraint on the parent as well.

Bringing in a couple of the similar yet slightly different examples from the other bug reports would also be useful.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146178



More information about the llvm-commits mailing list