[clang] [Clang] Fix handling of reference types in tryEvaluateBuiltinObjectSize (PR #138247)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 06:38:44 PDT 2025


================
@@ -623,6 +623,8 @@ Bug Fixes to C++ Support
 - Clang now emits a warning when class template argument deduction for alias templates is used in C++17. (#GH133806)
 - Fix a crash when checking the template template parameters of a dependent lambda appearing in an alias declaration.
   (#GH136432), (#GH137014), (#GH138018)
+- Fixed an assertion when trying to constant-fold various builtins when the argument
+  refered to a reference to an incomplete type. (#GH129397)
----------------
erichkeane wrote:

```suggestion
  referred to a reference to an incomplete type. (#GH129397)
```

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


More information about the cfe-commits mailing list