aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2024-04-26 18:33:58 +0400
committerGitHub <noreply@github.com>2024-04-26 18:33:58 +0400
commit1728a56d0e66c9e64a2e62fa6c5508580ccd28a0 (patch)
treece4412e64b3d98b94f5be89d1fe70ddefe37b757 /clang/lib/Frontend/InitPreprocessor.cpp
parent950b7ce0b88318f9099e9a7c9817d224ebdc6337 (diff)
downloadllvm-1728a56d0e66c9e64a2e62fa6c5508580ccd28a0.zip
llvm-1728a56d0e66c9e64a2e62fa6c5508580ccd28a0.tar.gz
llvm-1728a56d0e66c9e64a2e62fa6c5508580ccd28a0.tar.bz2
[clang] Add test for CWG2149 "Brace elision and array length deduction" (#90079)
This patch adds test for [CWG2149](https://cplusplus.github.io/CWG/issues/2149.html), following [P3106R1](https://wg21.link/p3106R1) "Clarifying rules for brace elision in aggregate initialization" and a clarification note on top of it added on April 2024. I haven't found a better way to check for equality of values inside array in 98 mode than to dump AST. I'm open to suggestions there.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions