HomePhabricator

[lit] Recursively expand substitutions

Authored by ldionne on Mar 14 2020, 9:09 AM.

Description

[lit] Recursively expand substitutions

This allows defining substitutions in terms of other substitutions. For
example, a %build substitution could be defined in terms of a %cxx
substitution as '%cxx %s -o %t.exe' and the script would be properly
expanded.

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

Details

Committed
ldionneMar 27 2020, 6:25 AM
Differential Revision
D76178: [lit] Recursively apply substitutions
Parents
rG401a324c5186: [LV] Refactor widenIntOrFpInduction. NFC.
Branches
Unknown
Tags
Unknown