[all-commits] [llvm/llvm-project] c96963: [BOLT] Use x.empty() instead of llvm::empty(x) (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Sep 18 11:02:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9696322bd7b5220b6d4346272b767fdf6eaa698
      https://github.com/llvm/llvm-project/commit/c9696322bd7b5220b6d4346272b767fdf6eaa698
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-18 (Sun, 18 Sep 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryEmitter.cpp

  Log Message:
  -----------
  [BOLT] Use x.empty() instead of llvm::empty(x) (NFC)

I'm planning to deprecate and eventually remove llvm::empty.

Note that no use of llvm::empty requires the ability of llvm::empty to
determine the emptiness from begin/end only.




More information about the All-commits mailing list