[all-commits] [llvm/llvm-project] ac12b4: [Flang][OpenMP] NFC: Use ConstructQueue::const_ite...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Aug 9 06:01:31 PDT 2024


  Branch: refs/heads/users/skatrak/recomposition-01-nfc
  Home:   https://github.com/llvm/llvm-project
  Commit: ac12b488139436503788e13952661c32cfc4c93d
      https://github.com/llvm/llvm-project/commit/ac12b488139436503788e13952661c32cfc4c93d
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/Decomposer.cpp
    M flang/lib/Lower/OpenMP/Decomposer.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp

  Log Message:
  -----------
  [Flang][OpenMP] NFC: Use ConstructQueue::const_iterator

This patch replaces `ConstructQueue::iterator` arguments for
`ConstructQueue::const_iterator` where it's used as a pointer to an element
inside of a `const ConstructQueue &` passed along with it.

Since these functions don't intend to modify the list or any elements in it,
keeping constness consistent between both makes it simpler to work with.



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