[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

2024-06-03 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll created https://github.com/llvm/llvm-project/pull/94206 This patch refactors an existing test for [CWG2390](https://cplusplus.github.io/CWG/issues/2390.html) "Is the argument of `__has_cpp_attribute` macro-expanded?" to use `#error` instead of emitting a variable in

[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

2024-06-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vlad Serebrennikov (Endilll) Changes This patch refactors an existing test for [CWG2390](https://cplusplus.github.io/CWG/issues/2390.html) "Is the argument of `__has_cpp_attribute` macro-expanded?" to use `#error` instead of emitting a v

[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

2024-06-03 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/94206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

2024-06-03 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: It'd be nice to have an approval from @tbaederr as the author of the original test. https://github.com/llvm/llvm-project/pull/94206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

2024-06-04 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr approved this pull request. Looks good, thanks https://github.com/llvm/llvm-project/pull/94206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Move CWG2390 test into `cwg23xx.cpp` (PR #94206)

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