[all-commits] [llvm/llvm-project] e96214: Fix some clang-tidy reports in MLIR (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat Nov 13 12:09:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e96214ddefb98d18c4448604a746657dba1da91f
      https://github.com/llvm/llvm-project/commit/e96214ddefb98d18c4448604a746657dba1da91f
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-11-13 (Sat, 13 Nov 2021)

  Changed paths:
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/lib/Transforms/NormalizeMemRefs.cpp
    M mlir/lib/Transforms/ParallelLoopCollapsing.cpp

  Log Message:
  -----------
  Fix some clang-tidy reports in MLIR (NFC)

Mostly replace uses of `container.size()` with `container.empty()` in
conditionals when applicable.




More information about the All-commits mailing list