[all-commits] [llvm/llvm-project] 0fe37a: [mlir] Apply ClangTidy readability finding.

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Mon Dec 19 00:52:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fe37a75a50bc54d93db299f3126b49b92a8d363
      https://github.com/llvm/llvm-project/commit/0fe37a75a50bc54d93db299f3126b49b92a8d363
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp

  Log Message:
  -----------
  [mlir] Apply ClangTidy readability finding.

Use empty() instead of checking for size 0.




More information about the All-commits mailing list