[clang] [clang] ASTContex: fix getCommonSugaredType for array types (PR #132559)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 25 07:05:41 PDT 2025


================
@@ -340,6 +340,9 @@ Bug Fixes to C++ Support
   by template argument deduction.
 - Clang is now better at instantiating the function definition after its use inside
   of a constexpr lambda. (#GH125747)
+- Clang no longer crashes when trying to unify the types of arrays with
+  certain differences in qualifiers, per ternary operator or template argument
+  deduction. (#GH97005)
----------------
cor3ntin wrote:

```suggestion
- Clang no longer crashes when trying to unify the types of arrays with
  certain differences in qualifiers (this could happend during template argument
  deduction or when building a ternary operator). (#GH97005)
```

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


More information about the cfe-commits mailing list