[all-commits] [llvm/llvm-project] 6251ad: [TableGen] Refactor the implementation of argument...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Tue Jul 11 11:42:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6251adc64d3d5fbc12c71c818a37a74b8999f989
      https://github.com/llvm/llvm-project/commit/6251adc64d3d5fbc12c71c818a37a74b8999f989
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/lib/TableGen/TGParser.h

  Log Message:
  -----------
  [TableGen] Refactor the implementation of arguments to introduce ArgumentInit [nfc]

A new Init type ArgumentInit is added to represent arguments.  We currently only support positional arguments; an upcoming change will add named argument support.

The index of argument in error message is removed.

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




More information about the All-commits mailing list