[PATCH] D146178: [Clang][Sema] Fix comparison of constraint expressions
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 21 09:31:39 PDT 2023
alexander-shaposhnikov added a comment.
reduced test case (that is currently blocking this diff) :
namespace outer::internal {
template <typename>
concept myconcept = true;
}
namespace outer {
template <internal::myconcept> class Foo;
template <internal::myconcept> struct Bar {
template <internal::myconcept> friend class Foo;
};
Bar<void> S;
namespace internal {
int f(Foo<void>);
}
template <internal::myconcept> struct Foo {
friend int internal::f(Foo<void>);
};
} // namespace outer
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
More information about the cfe-commits
mailing list