aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-01 11:36:13 +0000
committerGitHub <noreply@github.com>2022-03-01 11:36:13 +0000
commite82b59dfc9319d72f891bac099bfa0f46d8b8c99 (patch)
treea91c15fb63b9543661d892efb5fbe94dbe73ee52 /gcc/rust/backend/rust-compile-resolve-path.cc
parented1a4dc33fa78808fefaf020015b2177d7cdc1ce (diff)
parent27be628911a8df4d83b3770f9c5491bc7b410c2f (diff)
downloadgcc-e82b59dfc9319d72f891bac099bfa0f46d8b8c99.zip
gcc-e82b59dfc9319d72f891bac099bfa0f46d8b8c99.tar.gz
gcc-e82b59dfc9319d72f891bac099bfa0f46d8b8c99.tar.bz2
Merge #981
981: macro-expand: Add SubstitutionCtx class in its own file r=CohenArthur a=CohenArthur The `MacroExpander` class had multiple static functions which were constantly passing the same parameters around for expansion. This refactor adds a new `SubstituteCtx` class which keeps track of the three common arguments given to the substitute functions, and offers these implementations in a new source file to keep the original expander light. Closes #957 Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions