@@ -5736,19 +5736,19 @@ DEFINE_EMPTY_CAN_TYPE_WRAPPER(TypeVariableType, Type)
57365736// / because the expression is ambiguous. This type is only used by the
57375737// / constraint solver and transformed into UnresolvedType to be used in AST.
57385738class HoleType : public TypeBase {
5739- using OriginatorType =
5740- llvm::PointerUnion<TypeVariableType *, DependentMemberType *>;
5739+ using Originator = llvm::PointerUnion<TypeVariableType *,
5740+ DependentMemberType *, VarDecl *>;
57415741
5742- OriginatorType Originator;
5742+ Originator O ;
57435743
5744- HoleType (ASTContext &C, OriginatorType originator,
5744+ HoleType (ASTContext &C, Originator originator,
57455745 RecursiveTypeProperties properties)
5746- : TypeBase(TypeKind::Hole, &C, properties), Originator (originator) {}
5746+ : TypeBase(TypeKind::Hole, &C, properties), O (originator) {}
57475747
57485748public:
5749- static Type get (ASTContext &ctx, OriginatorType originatorType );
5749+ static Type get (ASTContext &ctx, Originator originator );
57505750
5751- OriginatorType getOriginatorType () const { return Originator ; }
5751+ Originator getOriginator () const { return O ; }
57525752
57535753 static bool classof (const TypeBase *T) {
57545754 return T->getKind () == TypeKind::Hole;
0 commit comments