[all-commits] [llvm/llvm-project] e2138e: [clang] Use std::size (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 26 13:59:01 PST 2022


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

  Changed paths:
    M clang/unittests/Tooling/CompilationDatabaseTest.cpp
    M clang/unittests/libclang/LibclangTest.cpp
    M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp

  Log Message:
  -----------
  [clang] 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