[all-commits] [llvm/llvm-project] cb068d: [Clang] Fix handling of reference types in tryEval...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri May 2 09:45:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb068dcec1b30528f0d06916911f55b4bd61b0bb
      https://github.com/llvm/llvm-project/commit/cb068dcec1b30528f0d06916911f55b4bd61b0bb
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/builtin-object-size-cxx14.cpp

  Log Message:
  -----------
  [Clang] Fix handling of reference types in tryEvaluateBuiltinObjectSize (#138247)

The order of operation was slightly incorrect, as we were checking for
incomplete types *before* handling reference types.

Fixes #129397

---------

Co-authored-by: Erich Keane <ekeane at nvidia.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list