[all-commits] [llvm/llvm-project] 7b5dfb: [mlir] Add support for diagnostics in C API.

ftynse via All-commits all-commits at lists.llvm.org
Wed Oct 7 05:42:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b5dfb400a67f03122b43cd5d59b8b1ef6d00147
      https://github.com/llvm/llvm-project/commit/7b5dfb400a67f03122b43cd5d59b8b1ef6d00147
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    A mlir/include/mlir-c/Diagnostics.h
    M mlir/include/mlir-c/Support.h
    A mlir/include/mlir/CAPI/Diagnostics.h
    M mlir/include/mlir/CAPI/Support.h
    M mlir/lib/CAPI/IR/CMakeLists.txt
    A mlir/lib/CAPI/IR/Diagnostics.cpp
    M mlir/test/CAPI/ir.c

  Log Message:
  -----------
  [mlir] Add support for diagnostics in C API.

Add basic support for registering diagnostic handlers with the context
(actually, the diagnostic engine contained in the context) and processing
diagnostic messages from the C API.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list