[all-commits] [llvm/llvm-project] 95935e: Make genAttributeVerifier escape the summary.

Matthias Kramm via All-commits all-commits at lists.llvm.org
Thu Oct 21 14:41:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95935e8285ad0e2872b83190669c9f70f2fd2112
      https://github.com/llvm/llvm-project/commit/95935e8285ad0e2872b83190669c9f70f2fd2112
  Author: Matthias Kramm <kramm at google.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  Make genAttributeVerifier escape the summary.

The summary can contain references to e.g. attribute defaults, which
can contain special characters. So these strings need to be C++
escaped.

Reviewed By: Mogball

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




More information about the All-commits mailing list