[all-commits] [llvm/llvm-project] ea4d24: [Syntax] Tablegen Sequence classes. NFC

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Nov 11 07:29:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4d24c899ea17ee6bd4a84eff0192503c12a5b6
      https://github.com/llvm/llvm-project/commit/ea4d24c899ea17ee6bd4a84eff0192503c12a5b6
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M clang/include/clang/Tooling/Syntax/Nodes.h
    M clang/include/clang/Tooling/Syntax/Nodes.td
    M clang/include/clang/Tooling/Syntax/Syntax.td
    M clang/lib/Tooling/Syntax/Nodes.cpp
    M clang/utils/TableGen/ClangSyntaxEmitter.cpp

  Log Message:
  -----------
  [Syntax] Tablegen Sequence classes. NFC

Similar to the previous patch, this doesn't convert *all* the classes that
could be converted. It also doesn't enforce any new invariants etc.

It *does* include some data we don't use yet: specific token types that are
allowed and optional/required status of sequence items. (Similar to Dmitri's
prototype). I think these are easier to add as we go than later, and serve
a useful documentation purpose.

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




More information about the All-commits mailing list