[all-commits] [llvm/llvm-project] 6cde64: [mlir] Apply ClangTidy fix (NFC)

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Tue Aug 29 00:34:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cde64a94986165547ae5237ac7dd4bddfc9f2a7
      https://github.com/llvm/llvm-project/commit/6cde64a94986165547ae5237ac7dd4bddfc9f2a7
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp

  Log Message:
  -----------
  [mlir] Apply ClangTidy fix (NFC)

Prefer to use empty() instead of checking size() > 0.




More information about the All-commits mailing list