[all-commits] [llvm/llvm-project] 0db8a1: [mlir] Apply ClangTidy readability fix.

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Wed Aug 24 01:35:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0db8a140f63ef0d4b14277f333ed47251bf7c872
      https://github.com/llvm/llvm-project/commit/0db8a140f63ef0d4b14277f333ed47251bf7c872
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp

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

Use .empty() instead of checking for size() == 0.




More information about the All-commits mailing list