[all-commits] [llvm/llvm-project] babad7: [mlir][python] Use a named object

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Fri Jan 7 04:24:42 PST 2022


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

  Changed paths:
    M mlir/lib/Bindings/Python/PybindUtils.h

  Log Message:
  -----------
  [mlir][python] Use a named object

Currently, the object would be immediately destroyed after creation.
Found by ClangTidy bugprone-unused-raii.




More information about the All-commits mailing list