[all-commits] [llvm/llvm-project] 88e45f: [clang][cli] Add MarshallingInfoEnum multiclass

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Feb 24 23:47:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e45f00c156170ed562bbacad3b2a21633c0f7a
      https://github.com/llvm/llvm-project/commit/88e45f00c156170ed562bbacad3b2a21633c0f7a
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/docs/InternalsManual.rst
    M clang/include/clang/Driver/Options.td
    M llvm/include/llvm/Option/OptParser.td

  Log Message:
  -----------
  [clang][cli] Add MarshallingInfoEnum multiclass

This patch introduces a tablegen multiclass called `MarshallingInfoEnum`. It has the same semantics as `MarshallingInfoString` had in combination with `AutoNormalizeEnum`, but it's easier to use and follows the convention used for other `MarshallingInfoXxx` multiclasses.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list