[all-commits] [llvm/llvm-project] cfce4a: [C++ Safe Buffers][libcxx][test] Add a test for ha...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Tue Jun 23 17:58:50 PDT 2026


  Branch: refs/heads/users/ziqingluo/PR-180461846
  Home:   https://github.com/llvm/llvm-project
  Commit: cfce4a6ba9c300615fb2132ca20717a85763ac46
      https://github.com/llvm/llvm-project/commit/cfce4a6ba9c300615fb2132ca20717a85763ac46
  Author: Ziqing Luo <ziqing_luo at apple.com>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    A libcxx/test/libcxx/containers/views/views.span/span.elem/assert.op_idx.pass.mm

  Log Message:
  -----------
  [C++ Safe Buffers][libcxx][test] Add a test for hardened span in ObjC++

The C++ Safe Buffers project does not officially support ObjC++, while
people may still want to apply the analysis to ObjC++ code for
improved confidence. However, it would be meaningless to do so if
hardened containers do not trap out-of-bounds accesses. We need to add
a test that shows that hardened containers do work for ObjC++.

rdar://180461846



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