Add support for creating a StencilPart from any RangeSelector, which broadens the scope of Stencil.
Correspondingly, deprecate Stencil's specialized combinators node and sNode in favor of using the appropriate range selector directly.
Paths
| Differential D62160
[LibTooling] Update Stencil to use RangeSelector ClosedPublic Authored by ymandel on May 20 2019, 2:14 PM.
Details
Summary Add support for creating a StencilPart from any RangeSelector, which broadens the scope of Stencil. Correspondingly, deprecate Stencil's specialized combinators node and sNode in favor of using the appropriate range selector directly.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 22 2019, 8:42 AM Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald Transcript Herald added subscribers: llvm-commits, openmp-commits, Restricted Project and 34 others. · View Herald Transcript Closed by commit rL361413: [LibTooling] Update Stencil to use RangeSelector (authored by ymandel). · Explain WhyMay 22 2019, 11:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 200795 cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h
cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp
cfe/trunk/unittests/Tooling/StencilTest.cpp
|