[all-commits] [llvm/llvm-project] cc79d6: [mlir] Use .empty() instead of checking size() == 0.

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Fri Jan 14 03:00:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc79d603c90e3b4768e7f7bd6a6d9289fbf7f6d1
      https://github.com/llvm/llvm-project/commit/cc79d603c90e3b4768e7f7bd6a6d9289fbf7f6d1
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp

  Log Message:
  -----------
  [mlir] Use .empty() instead of checking size() == 0.

Based on a finding by ClangTidy readability-container-size-empty check.




More information about the All-commits mailing list