diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2018-03-25 22:50:33 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2018-03-25 22:50:33 +0000 |
commit | 8a1cb33ba5ab5c649253d2fb032cb2569e1f76ff (patch) | |
tree | ff133e25ce8cb4ee6fca202b532d26973a3f0c3b /libcxx/test/std/experimental/filesystem/class.path/path.member/path.construct/source.pass.cpp | |
parent | 8c7013d4cadf6fa7c164768fc88127442a3b54c9 (diff) | |
download | bcm5719-llvm-8a1cb33ba5ab5c649253d2fb032cb2569e1f76ff.tar.gz bcm5719-llvm-8a1cb33ba5ab5c649253d2fb032cb2569e1f76ff.zip |
[demangler] Use a back-patching scheme to resolve forward references.
Strictly in a conversion operator's type, a <template-param> refers to a
<template-arg> that is further ahead in the mangled name. Instead of
doing a second parse to resolve these, introduce a
ForwardTemplateReference Node and back-patch the referenced
<template-arg> when we're in the right context.
This is also a correctness fix, previously we would only do a second
parse if the <template-param> was out of bounds in the current set of
<template-args>. This lead to misdemangles (gasp!) when the conversion
operator was a member of a templated struct, for instance.
llvm-svn: 328464
Diffstat (limited to 'libcxx/test/std/experimental/filesystem/class.path/path.member/path.construct/source.pass.cpp')
0 files changed, 0 insertions, 0 deletions