@@ -992,7 +992,7 @@ llvm::Value *CodeGenFunction::EmitBlockLiteral(const CGBlockInfo &blockInfo) {
992992 // Fake up a new variable so that EmitScalarInit doesn't think
993993 // we're referring to the variable in its own initializer.
994994 ImplicitParamDecl BlockFieldPseudoVar (getContext (), type,
995- ImplicitParamDecl ::Other);
995+ ImplicitParamKind ::Other);
996996
997997 // We use one of these or the other depending on whether the
998998 // reference is nested.
@@ -1450,7 +1450,7 @@ llvm::Function *CodeGenFunction::GenerateBlockFunction(
14501450
14511451 ImplicitParamDecl SelfDecl (getContext (), const_cast <BlockDecl *>(blockDecl),
14521452 SourceLocation (), II, selfTy,
1453- ImplicitParamDecl ::ObjCSelf);
1453+ ImplicitParamKind ::ObjCSelf);
14541454 args.push_back (&SelfDecl);
14551455
14561456 // Now add the rest of the parameters.
@@ -1874,9 +1874,9 @@ CodeGenFunction::GenerateCopyHelperFunction(const CGBlockInfo &blockInfo) {
18741874 QualType ReturnTy = C.VoidTy ;
18751875
18761876 FunctionArgList args;
1877- ImplicitParamDecl DstDecl (C, C.VoidPtrTy , ImplicitParamDecl ::Other);
1877+ ImplicitParamDecl DstDecl (C, C.VoidPtrTy , ImplicitParamKind ::Other);
18781878 args.push_back (&DstDecl);
1879- ImplicitParamDecl SrcDecl (C, C.VoidPtrTy , ImplicitParamDecl ::Other);
1879+ ImplicitParamDecl SrcDecl (C, C.VoidPtrTy , ImplicitParamKind ::Other);
18801880 args.push_back (&SrcDecl);
18811881
18821882 const CGFunctionInfo &FI =
@@ -2061,7 +2061,7 @@ CodeGenFunction::GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo) {
20612061 QualType ReturnTy = C.VoidTy ;
20622062
20632063 FunctionArgList args;
2064- ImplicitParamDecl SrcDecl (C, C.VoidPtrTy , ImplicitParamDecl ::Other);
2064+ ImplicitParamDecl SrcDecl (C, C.VoidPtrTy , ImplicitParamKind ::Other);
20652065 args.push_back (&SrcDecl);
20662066
20672067 const CGFunctionInfo &FI =
@@ -2303,10 +2303,10 @@ generateByrefCopyHelper(CodeGenFunction &CGF, const BlockByrefInfo &byrefInfo,
23032303 QualType ReturnTy = Context.VoidTy ;
23042304
23052305 FunctionArgList args;
2306- ImplicitParamDecl Dst (Context, Context.VoidPtrTy , ImplicitParamDecl ::Other);
2306+ ImplicitParamDecl Dst (Context, Context.VoidPtrTy , ImplicitParamKind ::Other);
23072307 args.push_back (&Dst);
23082308
2309- ImplicitParamDecl Src (Context, Context.VoidPtrTy , ImplicitParamDecl ::Other);
2309+ ImplicitParamDecl Src (Context, Context.VoidPtrTy , ImplicitParamKind ::Other);
23102310 args.push_back (&Src);
23112311
23122312 const CGFunctionInfo &FI =
@@ -2371,7 +2371,7 @@ generateByrefDisposeHelper(CodeGenFunction &CGF,
23712371
23722372 FunctionArgList args;
23732373 ImplicitParamDecl Src (CGF.getContext (), Context.VoidPtrTy ,
2374- ImplicitParamDecl ::Other);
2374+ ImplicitParamKind ::Other);
23752375 args.push_back (&Src);
23762376
23772377 const CGFunctionInfo &FI =
0 commit comments