This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG56099d242809: [clang] Do not hide base member using-decls
with different template head. (authored by usaxena95).
Changed prior to commit:
https://
usaxena95 updated this revision to Diff 471086.
usaxena95 marked 2 inline comments as done.
usaxena95 added a comment.
Addressed comments. Added release notes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136440/new/
https://reviews.llvm.org/D1364
ilya-biryukov accepted this revision.
ilya-biryukov added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/test/SemaTemplate/concepts-using-decl.cpp:174
+} // namespace heads_without_concepts.
\ No newline at end of file
NIT: a
usaxena95 added inline comments.
Comment at: clang/test/SemaTemplate/concepts-using-decl.cpp:112
+ expect<1>(baz{}.foo()); // expected-error {{call to member function
'foo' is ambiguous}}
+}
+}
ilya-biryukov wrote:
> Could you also check that `requires` clauses
usaxena95 updated this revision to Diff 470505.
usaxena95 marked 3 inline comments as done.
usaxena95 added a comment.
Added more tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136440/new/
https://reviews.llvm.org/D136440
Files:
clang/incl
ilya-biryukov added a comment.
My only ask is to add a few more tests (see the relevant comment), otherwise LG.
Comment at: clang/lib/Sema/SemaOverload.cpp:1293
+// templates first; the remaining checks follow.
+bool SameTemplateParameterList = TemplateParameterListsAre
usaxena95 updated this revision to Diff 470174.
usaxena95 marked 2 inline comments as done.
usaxena95 added a comment.
Addressed comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136440/new/
https://reviews.llvm.org/D136440
Files:
clang/in
usaxena95 marked 4 inline comments as done.
usaxena95 added a comment.
I have switched to a version where we matched template heads only when they are
constraints. This is for the moment to unblock the existing bugs and not break
existing code prior to C++20.
Let us continue the discussion over
ilya-biryukov added a comment.
Thanks for the change. All the behavior changes look reasonable to me, but I'm
struggling to understand whether we follow the standard closely here.
Left a comment to discuss this in depth.
Comment at: clang/lib/Sema/SemaOverload.cpp:1238
bool S
usaxena95 updated this revision to Diff 469552.
usaxena95 added a comment.
Added more tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136440/new/
https://reviews.llvm.org/D136440
Files:
clang/lib/Sema/SemaOverload.cpp
clang/test/CXX/dcl.d
10 matches
Mail list logo