|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 218 Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
235 Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
246 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
256 Diags.Report(Context->getFullLoc(Start), RewriteFailedDiag);
420 T = Context->getPointerType(BPT->getPointeeType());
434 T = Context->getObjCIdType();
436 T = Context->getObjCClassType();
443 T = Context->getPointerType(T);
453 QualType OCT = Context->getCanonicalType(T).getUnqualifiedType();
455 if (OCT == Context->getCanonicalType(Context->getObjCIdType()) ||
455 if (OCT == Context->getCanonicalType(Context->getObjCIdType()) ||
456 OCT == Context->getCanonicalType(Context->getObjCClassType()))
456 OCT == Context->getCanonicalType(Context->getObjCClassType()))
483 if (result == Context->getObjCInstanceType())
484 result = Context->getObjCIdType();
487 return Context->getFunctionType(result, args, fpi);
499 QualType StrType = Context->getConstantArrayType(
500 Context->CharTy, llvm::APInt(32, Str.size() + 1), nullptr,
502 return StringLiteral::Create(*Context, Str, StringLiteral::Ascii,
601 Context = &context;
602 SM = &Context->getSourceManager();
603 TUDecl = Context->getTranslationUnitDecl();
637 Rewrite.setSourceMgr(Context->getSourceManager(), Context->getLangOpts());
637 Rewrite.setSourceMgr(Context->getSourceManager(), Context->getLangOpts());
822 FT->getParamType(i).getAsString(Context->getPrintingPolicy());
1052 FPRetType->getReturnType().getAsString(Context->getPrintingPolicy());
1056 ResultStr += T.getAsString(Context->getPrintingPolicy());
1102 QualType selfTy = Context->getObjCInterfaceType(IDecl);
1103 selfTy = Context->getPointerType(selfTy);
1113 ResultStr += Context->getObjCClassType().getAsString(
1114 Context->getPrintingPolicy());
1117 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1117 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1131 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
1148 FT->getParamType(i).getAsString(Context->getPrintingPolicy());
1263 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1276 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1290 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1339 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1352 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1366 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1495 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy());
1511 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy());
1690 syncExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
1690 syncExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
1722 Diags.Report(Context->getFullLoc(S->getBeginLoc()),
1852 if (t == Context->getObjCIdType()) {
1980 Context->getObjCEncodingForType(Exp->getEncodedType(), StrEncoding);
2012 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType,
2012 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType,
2016 QualType pToFunc = Context->getPointerType(msgSendType);
2018 ImplicitCastExpr::Create(*Context, pToFunc, CK_FunctionToPointerDecay,
2024 *Context, ICE, Args, FT->getCallResultType(*Context), VK_RValue, EndLoc);
2024 *Context, ICE, Args, FT->getCallResultType(*Context), VK_RValue, EndLoc);
2069 QualType ElemTy = Context->getBaseElementType(T);
2195 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy()));
2221 IdentifierInfo *SelGetUidIdent = &Context->Idents.get("sel_registerName");
2223 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2223 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2225 getSimpleFunctionType(Context->getObjCSelType(), ArgTys);
2226 SelGetUidFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2244 std::string TypeString(Type.getAsString(Context->getPrintingPolicy()));
2260 std::string TypeString(Type.getAsString(Context->getPrintingPolicy()));
2293 std::string FdStr = Type.getAsString(Context->getPrintingPolicy());
2313 IdentifierInfo *msgSendIdent = &Context->Idents.get("__rw_objc_super");
2315 QualType argT = Context->getObjCIdType();
2319 QualType msgSendType = getSimpleFunctionType(Context->getObjCIdType(),
2321 SuperConstructorFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2330 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend");
2332 QualType argT = Context->getObjCIdType();
2335 argT = Context->getObjCSelType();
2338 QualType msgSendType = getSimpleFunctionType(Context->getObjCIdType(),
2340 MsgSendFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2349 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSendSuper");
2351 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
2353 &Context->Idents.get("objc_super"));
2354 QualType argT = Context->getPointerType(Context->getTagDeclType(RD));
2354 QualType argT = Context->getPointerType(Context->getTagDeclType(RD));
2357 argT = Context->getObjCSelType();
2360 QualType msgSendType = getSimpleFunctionType(Context->getObjCIdType(),
2362 MsgSendSuperFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2371 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_stret");
2373 QualType argT = Context->getObjCIdType();
2376 argT = Context->getObjCSelType();
2379 QualType msgSendType = getSimpleFunctionType(Context->getObjCIdType(),
2381 MsgSendStretFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2392 &Context->Idents.get("objc_msgSendSuper_stret");
2394 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
2396 &Context->Idents.get("objc_super"));
2397 QualType argT = Context->getPointerType(Context->getTagDeclType(RD));
2397 QualType argT = Context->getPointerType(Context->getTagDeclType(RD));
2400 argT = Context->getObjCSelType();
2403 QualType msgSendType = getSimpleFunctionType(Context->getObjCIdType(),
2405 MsgSendSuperStretFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2415 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_fpret");
2417 QualType argT = Context->getObjCIdType();
2420 argT = Context->getObjCSelType();
2423 QualType msgSendType = getSimpleFunctionType(Context->DoubleTy,
2425 MsgSendFpretFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2434 IdentifierInfo *getClassIdent = &Context->Idents.get("objc_getClass");
2436 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2436 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2437 QualType getClassType = getSimpleFunctionType(Context->getObjCIdType(),
2439 GetClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2449 &Context->Idents.get("class_getSuperclass");
2451 ArgTys.push_back(Context->getObjCClassType());
2452 QualType getClassType = getSimpleFunctionType(Context->getObjCClassType(),
2454 GetSuperClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2464 IdentifierInfo *getClassIdent = &Context->Idents.get("objc_getMetaClass");
2466 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2466 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2467 QualType getClassType = getSimpleFunctionType(Context->getObjCIdType(),
2469 GetMetaClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl,
2505 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(),
2506 SourceLocation(), &Context->Idents.get(S),
2508 DeclRefExpr *DRE = new (Context)
2509 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation());
2510 Expr *Unop = new (Context)
2511 UnaryOperator(DRE, UO_AddrOf, Context->getPointerType(DRE->getType()),
2514 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context, Exp->getType(),
2524 SuperStructDecl = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
2526 &Context->Idents.get("objc_super"));
2530 FieldTypes[0] = Context->getObjCIdType();
2532 FieldTypes[1] = Context->getObjCClassType();
2536 SuperStructDecl->addDecl(FieldDecl::Create(*Context, SuperStructDecl,
2547 return Context->getTagDeclType(SuperStructDecl);
2552 ConstantStringDecl = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
2554 &Context->Idents.get("__NSConstantStringImpl"));
2558 FieldTypes[0] = Context->getObjCIdType();
2560 FieldTypes[1] = Context->IntTy;
2562 FieldTypes[2] = Context->getPointerType(Context->CharTy);
2562 FieldTypes[2] = Context->getPointerType(Context->CharTy);
2564 FieldTypes[3] = Context->LongTy;
2568 ConstantStringDecl->addDecl(FieldDecl::Create(*Context,
2580 return Context->getTagDeclType(ConstantStringDecl);
2591 new (Context) DeclRefExpr(*Context, MsgSendStretFlavor, false,
2591 new (Context) DeclRefExpr(*Context, MsgSendStretFlavor, false,
2594 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context,
2595 Context->getPointerType(Context->VoidTy),
2595 Context->getPointerType(Context->VoidTy),
2601 castType = Context->getPointerType(castType);
2602 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast,
2606 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), cast);
2609 CallExpr *STCE = CallExpr::Create(*Context, PE, MsgExprs, FT->getReturnType(),
2663 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2663 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2665 new (Context) DeclRefExpr(*Context,
2665 new (Context) DeclRefExpr(*Context,
2668 Context->getObjCIdType(),
2679 CastExpr *ArgExpr = NoTypeInfoCStyleCastExpr(Context,
2680 Context->getObjCClassType(),
2689 NoTypeInfoCStyleCastExpr(Context,
2690 Context->getObjCIdType(),
2699 DeclRefExpr *DRE = new (Context)
2700 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType,
2702 SuperRep = CallExpr::Create(*Context, DRE, InitExprs, superType,
2710 SuperRep = new (Context) UnaryOperator(SuperRep, UO_AddrOf,
2711 Context->getPointerType(SuperRep->getType()),
2714 SuperRep = NoTypeInfoCStyleCastExpr(Context,
2715 Context->getPointerType(superType),
2720 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs,
2720 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs,
2723 = Context->getTrivialTypeSourceInfo(superType);
2724 SuperRep = new (Context) CompoundLiteralExpr(SourceLocation(), superTInfo,
2728 SuperRep = new (Context) UnaryOperator(SuperRep, UO_AddrOf,
2729 Context->getPointerType(SuperRep->getType()),
2758 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2758 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2760 new (Context) DeclRefExpr(*Context,
2760 new (Context) DeclRefExpr(*Context,
2763 Context->getObjCIdType(),
2773 CastExpr *ArgExpr = NoTypeInfoCStyleCastExpr(Context,
2774 Context->getObjCClassType(),
2785 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2785 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2794 DeclRefExpr *DRE = new (Context)
2795 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType,
2797 SuperRep = CallExpr::Create(*Context, DRE, InitExprs, superType,
2805 SuperRep = new (Context) UnaryOperator(SuperRep, UO_AddrOf,
2806 Context->getPointerType(SuperRep->getType()),
2809 SuperRep = NoTypeInfoCStyleCastExpr(Context,
2810 Context->getPointerType(superType),
2815 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs,
2815 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs,
2818 = Context->getTrivialTypeSourceInfo(superType);
2819 SuperRep = new (Context) CompoundLiteralExpr(SourceLocation(), superTInfo,
2838 recExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2838 recExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2860 type = Context->getObjCIdType();
2865 if (SubExpr->getType()->isIntegralType(*Context) &&
2880 userExpr = NoTypeInfoCStyleCastExpr(Context, type, CK, userExpr);
2888 if (userExpr->getType()->isIntegralType(*Context)) {
2897 userExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2897 userExpr = NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(),
2914 ArgTypes.push_back(Context->getPointerType(getSuperStructType()));
2916 ArgTypes.push_back(Context->getObjCIdType());
2917 ArgTypes.push_back(Context->getObjCSelType());
2922 ? Context->getObjCIdType()
2932 returnType = Context->getObjCIdType();
2938 DeclRefExpr *DRE = new (Context) DeclRefExpr(
2939 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
2945 cast = NoTypeInfoCStyleCastExpr(Context,
2946 Context->getPointerType(Context->VoidTy),
2946 Context->getPointerType(Context->VoidTy),
2954 castType = Context->getPointerType(castType);
2955 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast,
2959 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
2962 CallExpr *CE = CallExpr::Create(*Context, PE, MsgExprs, FT->getReturnType(),
2978 new (Context) UnaryExprOrTypeTraitExpr(UETT_SizeOf,
2979 Context->getTrivialTypeSourceInfo(returnType),
2980 Context->getSizeType(), SourceLocation(),
2987 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
2987 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
2988 IntegerLiteral *limit = IntegerLiteral::Create(*Context,
2990 Context->IntTy,
2993 new (Context) BinaryOperator(sizeofExpr, limit, BO_LE, Context->IntTy,
2993 new (Context) BinaryOperator(sizeofExpr, limit, BO_LE, Context->IntTy,
2998 new (Context) ConditionalOperator(lessThanExpr,
3002 ReplacingStmt = new (Context) ParenExpr(SourceLocation(), SourceLocation(),
3024 = Context->getTrivialTypeSourceInfo(Context->getObjCIdType());
3024 = Context->getTrivialTypeSourceInfo(Context->getObjCIdType());
3025 ProtocolTypeDecl = TypedefDecl::Create(*Context, TUDecl,
3027 &Context->Idents.get("Protocol"),
3030 return Context->getTypeDeclType(ProtocolTypeDecl);
3039 IdentifierInfo *ID = &Context->Idents.get(Name);
3040 VarDecl *VD = VarDecl::Create(*Context, TUDecl, SourceLocation(),
3043 DeclRefExpr *DRE = new (Context) DeclRefExpr(
3044 *Context, VD, false, getProtocolType(), VK_LValue, SourceLocation());
3045 Expr *DerefExpr = new (Context) UnaryOperator(DRE, UO_AddrOf,
3046 Context->getPointerType(DRE->getType()),
3048 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(),
3257 std::string S = "static " + RT.getAsString(Context->getPrintingPolicy()) + " __" +
3281 QT.getAsStringInternal(ParamStr, Context->getPrintingPolicy());
3329 QT = Context->getPointerType(QT);
3330 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
3423 QT = Context->getPointerType(QT);
3424 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy());
3425 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy());
3740 new (Context) ConditionalOperator(CONDExp,
3759 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
3761 &Context->Idents.get("__block_impl"));
3762 QualType PtrBlock = Context->getPointerType(Context->getTagDeclType(RD));
3762 QualType PtrBlock = Context->getPointerType(Context->getTagDeclType(RD));
3781 PtrToFuncCastType = Context->getPointerType(PtrToFuncCastType);
3783 CastExpr *BlkCast = NoTypeInfoCStyleCastExpr(Context, PtrBlock,
3787 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(),
3791 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(),
3793 &Context->Idents.get("FuncPtr"),
3794 Context->VoidPtrTy, nullptr,
3798 *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary);
3800 CastExpr *FunkCast = NoTypeInfoCStyleCastExpr(Context, PtrToFuncCastType,
3802 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast);
3812 CallExpr *CE = CallExpr::Create(*Context, PE, BlkExprs, Exp->getType(),
3837 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(),
3839 &Context->Idents.get("__forwarding"),
3840 Context->VoidPtrTy, nullptr,
3844 MemberExpr::CreateImplicit(*Context, DeclRefExp, isArrow, FD,
3848 FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), SourceLocation(),
3849 &Context->Idents.get(Name),
3850 Context->VoidPtrTy, nullptr,
3853 ME = MemberExpr::CreateImplicit(*Context, ME, true, FD, DeclRefExp->getType(),
3857 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(),
3872 Expr *Exp = new (Context) UnaryOperator(DRE, UO_Deref, DRE->getType(),
3876 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(),
4123 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4123 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
4127 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth();
4193 bool HasCopyAndDispose = Context->BlockRequiresCopying(Ty, ND);
4201 T.getAsStringInternal(Name, Context->getPrintingPolicy());
4342 IdentifierInfo *ID = &Context->Idents.get(name);
4343 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
4343 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
4344 return FunctionDecl::Create(*Context, TUDecl, SourceLocation(),
4403 QualType FType = Context->getPointerType(BFT);
4410 DeclRefExpr *DRE = new (Context)
4411 DeclRefExpr(*Context, FD, false, FType, VK_RValue, SourceLocation());
4417 DeclRefExpr *Arg = new (Context) DeclRefExpr(
4418 *Context, FD, false, FD->getType(), VK_LValue, SourceLocation());
4420 NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast, Arg);
4420 NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast, Arg);
4427 *Context, TUDecl, SourceLocation(), SourceLocation(),
4428 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static);
4428 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static);
4429 UnaryOperator *DescRefExpr = new (Context) UnaryOperator(
4430 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy,
4430 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy,
4430 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy,
4432 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
4432 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
4445 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4445 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4449 QT = Context->getPointerType(QT);
4450 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
4456 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4456 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4458 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast,
4458 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast,
4462 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4462 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4466 QT = Context->getPointerType(QT);
4467 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
4481 IdentifierInfo *II = &Context->Idents.get(RecName.c_str()
4483 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
4487 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
4487 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
4490 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4490 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(),
4506 Exp = new (Context) UnaryOperator(
4507 Exp, UO_AddrOf, Context->getPointerType(Exp->getType()), VK_RValue,
4509 Exp = NoTypeInfoCStyleCastExpr(Context, castT, CK_BitCast, Exp);
4517 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4517 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4518 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag),
4519 Context->IntTy, SourceLocation());
4522 NewRep = CallExpr::Create(*Context, DRE, InitExprs, FType, VK_LValue,
4524 NewRep = new (Context) UnaryOperator(
4525 NewRep, UO_AddrOf, Context->getPointerType(NewRep->getType()), VK_RValue,
4527 NewRep = NoTypeInfoCStyleCastExpr(Context, FType, CK_BitCast,
5122 std::string MethodTypeString = Context->getObjCEncodingForMethodDecl(*I);
5159 std::string MethodTypeString = Context->getObjCEncodingForMethodDecl(*I);
5323 Context->getObjCEncodingForType(IVI->getType(), TmpString, *IVI);
5334 Context->getObjCEncodingForType(IVI->getType(), TmpString, *IVI);
5770 Context->getObjCEncodingForMethodDecl(*MethodBegin);
5780 Context->getObjCEncodingForMethodDecl(*MethodBegin);
5818 IdentifierInfo *II = &Context->Idents.get(RecName);
5819 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
5823 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
5823 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
5824 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT,
5828 ParenExpr *PE = new (Context) ParenExpr(OldRange.getBegin(),
5835 *Context, PE, true, D, D->getType(), VK_LValue, OK_Ordinary);
5858 IdentifierInfo *II = &Context->Idents.get(RecName);
5859 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl,
5863 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
5863 QualType castT = Context->getPointerType(Context->getTagDeclType(RD));
5864 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT,
5868 ParenExpr *PE = new (Context) ParenExpr(