[all-commits] [llvm/llvm-project] 726568: Use more references in MLIR Diagnostic handling (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Jan 17 22:45:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7265688e0922a197a4be9095f6a727aa4b5cb2c1
      https://github.com/llvm/llvm-project/commit/7265688e0922a197a4be9095f6a727aa4b5cb2c1
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

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

  Log Message:
  -----------
  Use more references in MLIR Diagnostic handling (NFC)

This saves some copies of non-trivial objects, flagged by Coverity.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D117525




More information about the All-commits mailing list