This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Add Stencil constructor.
ClosedPublic

Authored by ymandel on Oct 30 2019, 12:16 PM.

Details

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.

Diff Detail

Event Timeline

ymandel created this revision.Oct 30 2019, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 30 2019, 12:16 PM
ymandel edited reviewers, added: ilya-biryukov; removed: gribozavr.Oct 31 2019, 8:29 AM
ymandel added a subscriber: gribozavr.
This revision is now accepted and ready to land.Oct 31 2019, 8:50 AM
ymandel updated this revision to Diff 227457.Nov 1 2019, 8:30 AM

renamed free function to avoid overloading a templated function.

This revision was automatically updated to reflect the committed changes.