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

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Thu Oct 12 22:55:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 398e48a75ba1ce7f2d42c0260f28218936c47073
      https://github.com/llvm/llvm-project/commit/398e48a75ba1ce7f2d42c0260f28218936c47073
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M mlir/lib/AsmParser/AttributeParser.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