[libcxx] [llvm] [clang] "Reapply "[Sema] Fix crash on invalid code with parenthesized aggrega… (PR #76833)

Mark de Wever via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 7 03:04:03 PST 2024


mordante wrote:

> @mordante The lines could be changed to `// expected-error-re@*:* 0-1 {{{{(excess elements in struct initializer|no matching constructor for initialization of)}}{{.*}}}}` to still have coverage. FWIW the `{{.*}}` at the end seems to be redundant too.

Totally forgot using 0 occurrences are valid in this syntax. I'll make a new patch. I'll keep the redundant part, the entire expected will be redundant in about a year. 

https://github.com/llvm/llvm-project/pull/76833


More information about the cfe-commits mailing list