diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-03-08 15:39:26 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-03-09 18:18:35 +0000 |
commit | 6212572b23ccaaf355ab8376d3f5affec334b797 (patch) | |
tree | ea8369f2698c26f7663fde54125ab28ef04334d9 /gcc/tree-vector-builder.c | |
parent | 99980cbb5efdaa935d841b4e523ea758568b1827 (diff) | |
download | gcc-6212572b23ccaaf355ab8376d3f5affec334b797.zip gcc-6212572b23ccaaf355ab8376d3f5affec334b797.tar.gz gcc-6212572b23ccaaf355ab8376d3f5affec334b797.tar.bz2 |
Introduce TyCtx wrapper over TyTy Types with elements than can change.
ArrayTypes for example can have an inference variable for an element type
which requires the Type system to lookup what type it is when requested.
TyCtx acts as this wrapper that takes an HirId reference that cleans up the
code for ArrayTypes, ReferenceTypes and TupleTypes where elements can be
inference variables.
Diffstat (limited to 'gcc/tree-vector-builder.c')
0 files changed, 0 insertions, 0 deletions