[all-commits] [llvm/llvm-project] a677af: [TableGen] Use std::size (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 26 10:47:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a677afd3c132dd024fdf81c1bb0b256176895112
      https://github.com/llvm/llvm-project/commit/a677afd3c132dd024fdf81c1bb0b256176895112
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-26 (Sat, 26 Nov 2022)

  Changed paths:
    M llvm/utils/TableGen/OptParserEmitter.cpp

  Log Message:
  -----------
  [TableGen] Use std::size (NFC)

std::size, introduced in C++17, allows us to directly obtain the
number of elements of an array.




More information about the All-commits mailing list