HomePhabricator

[libc++] NFC: Simplify substitutions by using lit recursive substitutions

Authored by ldionne on Mar 27 2020, 6:50 AM.

Description

[libc++] NFC: Simplify substitutions by using lit recursive substitutions

Since lit supports expanding substitutions recursively, we can define
substitutions in terms of other substitutions. This allows us to simplify
how libc++ substitutions are defined.

This doesn't change the substitutions at all, it only makes them simpler
to define.