[NFC] AST: Define SubstitutionMap::getInnermostReplacementTypes

This commit is contained in:
Anthony Latsis
2020-05-15 12:24:15 +03:00
parent dfbbd727bf
commit eedb335a08
4 changed files with 17 additions and 20 deletions

View File

@@ -150,6 +150,10 @@ public:
/// generic parameters.
ArrayRef<Type> getReplacementTypes() const;
/// Retrieve the array of replacement types for the innermost generic
/// parameters.
ArrayRef<Type> getInnermostReplacementTypes() const;
/// Query whether any replacement types in the map contain archetypes.
bool hasArchetypes() const;