[all-commits] [llvm/llvm-project] 6e759d: [libTooling] Add Stencil constructor.

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Nov 1 09:05:30 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e759daf2ea891fdd624d68690cdafdadcca11c9
      https://github.com/llvm/llvm-project/commit/6e759daf2ea891fdd624d68690cdafdadcca11c9
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M clang/include/clang/Tooling/Transformer/Stencil.h

  Log Message:
  -----------
  [libTooling] Add Stencil constructor.

Summary:
Adds a constructor that takes a vector with which to initialize the `Parts`
field and a corresponding free function that forwards to the constructor. These
definitions are needed to assist in transitioning away from `Stencil` as a class
to defining it as a type alias.

Reviewers: ilya-biryukov

Subscribers: cfe-commits, gribozavr

Tags: #clang

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




More information about the All-commits mailing list