[all-commits] [llvm/llvm-project] c3ca0f: [CIR] Add test for begin/end range for statements ...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri May 9 12:27:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3ca0fb91eaef9133315024550ef7b0ca7b0458a
      https://github.com/llvm/llvm-project/commit/c3ca0fb91eaef9133315024550ef7b0ca7b0458a
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCall.cpp
    A clang/test/CIR/CodeGen/forrange.cpp

  Log Message:
  -----------
  [CIR] Add test for begin/end range for statements (#139134)

This adds a test to verify range for loops based on begin() and end()
funtion calls. The functionality to enable this was added in previous
commits, but those commits were only indirectly related to this test.
The general intent of this commit is to work towards enabling
iterator-based range for loops.

The test did reveal one minor problem in call argument handling, which
is corrected here.



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