[all-commits] [llvm/llvm-project] 295d03: [mlir] Move diagnostic handlers instead of copying

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sat May 21 04:27:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 295d032762ad284068c72cc1904680a4db5e80d3
      https://github.com/llvm/llvm-project/commit/295d032762ad284068c72cc1904680a4db5e80d3
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-05-21 (Sat, 21 May 2022)

  Changed paths:
    M mlir/include/mlir/IR/Diagnostics.h
    M mlir/lib/CAPI/IR/Diagnostics.cpp
    M mlir/lib/IR/Diagnostics.cpp

  Log Message:
  -----------
  [mlir] Move diagnostic handlers instead of copying

This also allows using unique_ptr instead of shared_ptr for the CAPI
user data. NFCI.




More information about the All-commits mailing list