[all-commits] [llvm/llvm-project] cd3950: [Clang][test] Add inferred nofree to attr-counted-...

lijinpei-amd via All-commits all-commits at lists.llvm.org
Mon Jun 8 22:16:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd3950d972b06e16983d2cd0b6fda53af5e088be
      https://github.com/llvm/llvm-project/commit/cd3950d972b06e16983d2cd0b6fda53af5e088be
  Author: lijinpei-amd <jinpli at amd.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M clang/test/CodeGen/attr-counted-by-issue200014.c

  Log Message:
  -----------
  [Clang][test] Add inferred nofree to attr-counted-by-issue200014.c checks (#202491)

Commit 89905ff21441 ("[FunctionAttrs] Add support for nofree argument
inference", #201591) infers a `nofree` parameter attribute at `-O2`. The
test `attr-counted-by-issue200014.c` (added later in #201161) was
generated before that change, so its `O2-SAME` lines omit `nofree` and
currently fail on `main`:

```
O2-SAME: ptr noundef readonly captures(none) ...   (expected by test)
         ptr nofree noundef readonly captures(none) ...   (actual codegen)
```

This regenerates the checks with `update_cc_test_checks.py`. Test-only,
NFC.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.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