[all-commits] [llvm/llvm-project] b51054: [asan] NFC: tag ambiguous literal args at Allocate...

Justin T. Gibbs via All-commits all-commits at lists.llvm.org
Sat May 30 17:49:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b51054818b78dc395cd4d33f17cfb6e98a36a76d
      https://github.com/llvm/llvm-project/commit/b51054818b78dc395cd4d33f17cfb6e98a36a76d
  Author: Justin T. Gibbs <gibbs at scsiguy.com>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M compiler-rt/lib/asan/asan_allocator.cpp

  Log Message:
  -----------
  [asan] NFC: tag ambiguous literal args at Allocate call sites (#200615)

Groundwork for #200478

Add /*name=*/ comments to ambiguous literal call-site arguments in
compiler-rt/lib/asan/asan_allocator.cpp so the parameter name is visible
at the call site for the Allocate / instance.Allocate uses. Covers the
can_fill flag and the bare alignment literals (8, 16, 0) used by:

  asan_malloc / asan_vec_malloc / asan_realloc / asan_valloc /
  asan_pvalloc / asan_memalign / asan_aligned_alloc /
  asan_posix_memalign / asan_new / asan_new_aligned

and the internal Reallocate / Calloc paths.

NFC.

Assisted by: Claude Opus 4.7



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