[clang] Revert "[clang][NFC] Add a test for CWG2685" (PR #95389)

2024-06-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Younan Zhang (zyn0217) Changes I was wrong: The purpose of CWG2685 is to avoid brace elision on string literals and we should be rejecting the case. Reverts llvm/llvm-project#95206 --- Full diff: https://github.com/llvm/llvm-project/pul

[clang] Revert "[clang][NFC] Add a test for CWG2685" (PR #95389)

2024-06-13 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 created https://github.com/llvm/llvm-project/pull/95389 I was wrong: The purpose of CWG2685 is to avoid brace elision on string literals and we should be rejecting the case. Reverts llvm/llvm-project#95206 >From 0e8c9bca863137f14aea2cee0e05d4270b33e0e8 Mon Sep 17 0