[all-commits] [llvm/llvm-project] 254b90: [CodeGen][counted_by] See past parentheses and no-...

Bill Wendling via All-commits all-commits at lists.llvm.org
Wed Jul 30 14:37:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 254b90fa9584da4cc9f8d846fc610c731a73f742
      https://github.com/llvm/llvm-project/commit/254b90fa9584da4cc9f8d846fc610c731a73f742
  Author: Bill Wendling <morbo at google.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/attr-counted-by-for-pointers.c

  Log Message:
  -----------
  [CodeGen][counted_by] See past parentheses and no-op casts (#151266)

Parentheses and no-op casts don't change the value. Skip past them to
get to a MemberExpr.

Fixes #151236



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