[all-commits] [llvm/llvm-project] 02aaf8: [NFC][ScheduleDAGInstrs] Use structure bindings an...

Pavel Samolysov via All-commits all-commits at lists.llvm.org
Tue Sep 13 02:50:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02aaf8e3d6e73116648afcbb691839ecec80aa0e
      https://github.com/llvm/llvm-project/commit/02aaf8e3d6e73116648afcbb691839ecec80aa0e
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
    M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp

  Log Message:
  -----------
  [NFC][ScheduleDAGInstrs] Use structure bindings and emplace_back

Some uses of std::make_pair and the std::pair's first/second members
in the ScheduleDAGInstrs.[cpp|h] files were replaced with using of the
vector's emplace_back along with structure bindings from C++17.




More information about the All-commits mailing list