[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-02 Thread via cfe-commits
github-actions[bot] wrote: @NekoCdr Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build,

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-02 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll closed https://github.com/llvm/llvm-project/pull/87274 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-02 Thread Yuri Istomin via cfe-commits
https://github.com/NekoCdr updated https://github.com/llvm/llvm-project/pull/87274 >From 1dfb9414a28f99024a8abe36b0b10a4d91eae573 Mon Sep 17 00:00:00 2001 From: Yuri Istomin Date: Mon, 1 Apr 2024 22:02:42 +0300 Subject: [PATCH 1/3] [clang] Add test for CWG1606 --- clang/test/CXX/drs/dr16xx.cp

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread Shafik Yaghmour via cfe-commits
shafik wrote: It looks like we do have a test and it looks like the restriction was lifted in C++20. https://github.com/llvm/llvm-project/pull/87274 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread Shafik Yaghmour via cfe-commits
https://github.com/shafik approved this pull request. Thank you for the test! LGTM. Do we also have a test that `sizeof([=]{ return i + j;})` should fail as well? Tangentially related to this DR but if we don't we should cover that in our tests someplace. https://github.com/llvm/llvm-project/

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll approved this pull request. LGTM! Disclosure: me and author extensively reviewed this offline before publishing. https://github.com/llvm/llvm-project/pull/87274 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Yuri Istomin (NekoCdr) Changes https://cplusplus.github.io/CWG/issues/1606.html --- Full diff: https://github.com/llvm/llvm-project/pull/87274.diff 2 Files Affected: - (modified) clang/test/CXX/drs/dr16xx.cpp (+11) - (modified) clang/w

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [clang] Add test for CWG1606 (PR #87274)

2024-04-01 Thread Yuri Istomin via cfe-commits
https://github.com/NekoCdr created https://github.com/llvm/llvm-project/pull/87274 https://cplusplus.github.io/CWG/issues/1606.html >From 1dfb9414a28f99024a8abe36b0b10a4d91eae573 Mon Sep 17 00:00:00 2001 From: Yuri Istomin Date: Mon, 1 Apr 2024 22:02:42 +0300 Subject: [PATCH 1/2] [clang] Add t