[all-commits] [llvm/llvm-project] 5131f0: [UBSan] Use EmitCheckedLValue for C++ trivial oper...

Hubert Tong via All-commits all-commits at lists.llvm.org
Sat Jun 13 18:53:44 PDT 2026


  Branch: refs/heads/users/hubert-reinterpretcast/clangUbsanAssignOpEmitCheckedLValueLhsPlusCallRhs
  Home:   https://github.com/llvm/llvm-project
  Commit: 5131f000c9f37ab6b90f9e093b948aee94485921
      https://github.com/llvm/llvm-project/commit/5131f000c9f37ab6b90f9e093b948aee94485921
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/test/CodeGen/ubsan-aggregate-null-align-bounds.c

  Log Message:
  -----------
  [UBSan] Use EmitCheckedLValue for C++ trivial operator= operands

Further to https://github.com/llvm/llvm-project/pull/190739, use
EmitCheckedLValue for trivial operator= operands
* for the LHS (`lhs->` not handled yet), and
* for the RHS also for function call syntax.



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