Merge pull request #84729 from xedin/rdar-161207705

[CSSimplify] Avoid simplifying dependent members until pack expansion…
This commit is contained in:
Pavel Yaskevich
2025-10-08 16:19:00 -07:00
committed by GitHub
3 changed files with 65 additions and 6 deletions

View File

@@ -849,12 +849,11 @@ public:
/// type variables referenced by this type.
void getTypeVariables(SmallPtrSetImpl<TypeVariableType *> &typeVariables);
private:
public:
/// If the receiver is a `DependentMemberType`, returns its root. Otherwise,
/// returns the receiver.
Type getDependentMemberRoot();
public:
/// Determine whether this type is a type parameter, which is either a
/// GenericTypeParamType or a DependentMemberType.
///