[clang] [clang] Fix direct-initialization with new expressions for arrays (PR #78201)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 12:38:20 PST 2024


================
@@ -937,6 +937,9 @@ Bug Fixes to AST Handling
 - Fixed a bug where Template Instantiation failed to handle Lambda Expressions
   with certain types of Attributes.
   (`#76521 <https://github.com/llvm/llvm-project/issues/76521>`_)
+- Fixed a bug where the parenthesized initialization of arrays in a new
+  expression were rejected even in C++20 mode.
----------------
cor3ntin wrote:

```suggestion
  expression were incorrectly rejected in C++20 mode.
```

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


More information about the cfe-commits mailing list