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

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


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

  Changed paths:
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaStmt.cpp

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