[all-commits] [llvm/llvm-project] 57d239: [mlir] Breakdown diagnostic string literals

Logan Chien via All-commits all-commits at lists.llvm.org
Tue May 24 07:58:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57d239e4ad110c052fe0c05fb25a588ec5a8de14
      https://github.com/llvm/llvm-project/commit/57d239e4ad110c052fe0c05fb25a588ec5a8de14
  Author: Logan Chien <tzuhsiang.chien at gmail.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td

  Log Message:
  -----------
  [mlir] Breakdown diagnostic string literals

This commit breaks down diagnostic string literals so that the attribute
name and enumurator names can be shared with the stringify utility
function and the "expected ", " to be one of ", and ", " can be shared
between different enum-related diagnostic.

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




More information about the All-commits mailing list