diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-06-14 14:25:59 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-06-14 16:31:34 +0100 |
commit | 75c44883dbe84682beabc92db7c89bc6db491db8 (patch) | |
tree | 52bea53f2c0f257c8a1a85de28e354456a53dfb6 /gcc/file-prefix-map.c | |
parent | df36e6b9abb197ceb0ff5d1020482c75c6f1424a (diff) | |
download | gcc-75c44883dbe84682beabc92db7c89bc6db491db8.zip gcc-75c44883dbe84682beabc92db7c89bc6db491db8.tar.gz gcc-75c44883dbe84682beabc92db7c89bc6db491db8.tar.bz2 |
Name resolver should try to resolve each segment in turn
Name resolution tried to greedily resolve the entire CanonicalPath in one
lookup which was ok for simple paths like A::B. This changes the name
resolver to resolve each segment which allows the type resolution to
determine the root path to be up until the segment is unresolved which
will then require a PathProbe or its a failure. This will be required to
support modules which extend the resolution to be much more generic than
is assumed here.
Addresses: #432
Diffstat (limited to 'gcc/file-prefix-map.c')
0 files changed, 0 insertions, 0 deletions