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

cor3ntin via All-commits all-commits at lists.llvm.org
Tue May 13 14:36:40 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0439d1d36312b4abe705d8048cfae64e7fedff6a
      https://github.com/llvm/llvm-project/commit/0439d1d36312b4abe705d8048cfae64e7fedff6a
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    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