[all-commits] [llvm/llvm-project] cacfac: [TableGen] New bang operator `!repr`. (#68716)

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Wed Oct 11 04:12:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cacfac416c959ab06dd4f7978f0f2a067b1cb283
      https://github.com/llvm/llvm-project/commit/cacfac416c959ab06dd4f7978f0f2a067b1cb283
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M llvm/docs/TableGen/ProgRef.rst
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGLexer.cpp
    M llvm/lib/TableGen/TGLexer.h
    M llvm/lib/TableGen/TGParser.cpp
    A llvm/test/TableGen/repr.td

  Log Message:
  -----------
  [TableGen] New bang operator `!repr`. (#68716)

The !repr operator represents the content of a variable or of a record
as a string.

This patch is based on code originally written by Adam Nemet, and on the
feedback received by the reviewers in
https://reviews.llvm.org/D157492.




More information about the All-commits mailing list