aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSchuyler Eldridge2018-09-27 13:49:37 -0400
committerGitHub2018-09-27 13:49:37 -0400
commit953deb5d6f3a7a039d767b7e57a161960b17534a (patch)
treef37d64f4b840dac2cab1c781a623ba6a646a6822 /Makefile
parent2ab5f866044d0d77756906b374813dd2425c5dfa (diff)
Add Utils.expandPrefixes as Prefix Unique helper (#900)
This adds a utility, expandPrefixes, that expands a string into all possible prefixes based on a delimiter. Any repeated occurrence of the delimiter is viewed as a contributing to a prefix. E.g., "foo_bar" expands to Seq("foo_", "foo_bar"). This is useful for inlining and keyword mangling on LowForm. You would like to be able to generate a new name that is prefix unique with respect to a namespace. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions