@@ -5736,19 +5736,19 @@ DEFINE_EMPTY_CAN_TYPE_WRAPPER(TypeVariableType, Type)
5736
5736
// / because the expression is ambiguous. This type is only used by the
5737
5737
// / constraint solver and transformed into UnresolvedType to be used in AST.
5738
5738
class HoleType : public TypeBase {
5739
- using OriginatorType =
5740
- llvm::PointerUnion<TypeVariableType *, DependentMemberType *>;
5739
+ using Originator = llvm::PointerUnion<TypeVariableType *,
5740
+ DependentMemberType *, VarDecl *>;
5741
5741
5742
- OriginatorType Originator;
5742
+ Originator O ;
5743
5743
5744
- HoleType (ASTContext &C, OriginatorType originator,
5744
+ HoleType (ASTContext &C, Originator originator,
5745
5745
RecursiveTypeProperties properties)
5746
- : TypeBase(TypeKind::Hole, &C, properties), Originator (originator) {}
5746
+ : TypeBase(TypeKind::Hole, &C, properties), O (originator) {}
5747
5747
5748
5748
public:
5749
- static Type get (ASTContext &ctx, OriginatorType originatorType );
5749
+ static Type get (ASTContext &ctx, Originator originator );
5750
5750
5751
- OriginatorType getOriginatorType () const { return Originator ; }
5751
+ Originator getOriginator () const { return O ; }
5752
5752
5753
5753
static bool classof (const TypeBase *T) {
5754
5754
return T->getKind () == TypeKind::Hole;
0 commit comments