[all-commits] [llvm/llvm-project] 18a920: Reapply [PostOrderIterator] Store end iterator (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 23 05:16:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18a920978f9da47247b4cbd47615247a09cd0d48
      https://github.com/llvm/llvm-project/commit/18a920978f9da47247b4cbd47615247a09cd0d48
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/include/llvm/ADT/PostOrderIterator.h

  Log Message:
  -----------
  Reapply [PostOrderIterator] Store end iterator (NFC)

Replace structured bindings with std::get, as they apparently
break the modules build.

-----

Store the end iterator on the VisitStack, instead of recomputing
it every time, as doing so is not free.




More information about the All-commits mailing list