[Type decoder] Generalize the canonicalization of nominal type decl references.

Various TypeDecoder clients will depend on having the "bare" nominal
type declaration demangled node for looking up nominal type descriptors,
so move the generic argument-stripping code into TypeDecoder.
This commit is contained in:
Doug Gregor
2018-01-12 15:31:24 -08:00
parent a2d97719d3
commit d0b73b85d0
9 changed files with 93 additions and 55 deletions

View File

@@ -185,6 +185,8 @@ public:
return TR;
}
Demangle::NodeFactory &getNodeFactory() { return Dem; }
///
/// Factory methods for all TypeRef kinds
///