Lines Matching defs:Context

764   if (Context.getLangOpts().Modules && !Diags.isDiagnosticInFlight()) {
1729 if (Context.getLangOpts().Modules && !Diags.isDiagnosticInFlight()) {
2016 DeclContext *DC = Context.getTranslationUnitDecl();
2173 DeclContext *TU = Context.getTranslationUnitDecl();
2191 DeclContext *TU = Context.getTranslationUnitDecl();
2880 !Context.getLangOpts().Modules)
2898 return Context.getLangOpts().Modules && UseGlobalIndex &&
2925 Context.getLangOpts().Modules
3204 Context.getTranslationUnitDecl());
3209 Context.getTranslationUnitDecl());
3217 if (!Context.CFConstantStringTypeDecl)
3218 Context.setCFConstantStringType(GetType(String));
3228 if (!Context.FILEDecl) {
3230 Context.setFILEDecl(Typedef->getDecl());
3237 Context.setFILEDecl(Tag->getDecl());
3249 if (!Context.jmp_bufDecl) {
3251 Context.setjmp_bufDecl(Typedef->getDecl());
3258 Context.setjmp_bufDecl(Tag->getDecl());
3270 if (!Context.sigjmp_bufDecl) {
3272 Context.setsigjmp_bufDecl(Typedef->getDecl());
3276 Context.setsigjmp_bufDecl(Tag->getDecl());
3283 if (Context.ObjCIdRedefinitionType.isNull())
3284 Context.ObjCIdRedefinitionType = GetType(ObjCIdRedef);
3289 if (Context.ObjCClassRedefinitionType.isNull())
3290 Context.ObjCClassRedefinitionType = GetType(ObjCClassRedef);
3295 if (Context.ObjCSelRedefinitionType.isNull())
3296 Context.ObjCSelRedefinitionType = GetType(ObjCSelRedef);
3306 if (!Context.ucontext_tDecl) {
3308 Context.setucontext_tDecl(Typedef->getDecl());
3312 Context.setucontext_tDecl(Tag->getDecl());
3318 ReadPragmaDiagnosticMappings(Context.getDiagnostics());
3323 Context.setcudaConfigureCallDecl(
3906 CurrentModule->addRequirement(Blob, Record[0], Context.getLangOpts(),
3907 Context.getTargetInfo());
4518 return Context.getQualifiedType(Base, Quals);
4527 return Context.getComplexType(ElemType);
4536 return Context.getPointerType(PointeeType);
4545 QualType DT = Context.getAdjustedParameterType(OriginalType);
4557 return Context.getBlockPointerType(PointeeType);
4566 return Context.getLValueReferenceType(PointeeType, Record[1]);
4575 return Context.getRValueReferenceType(PointeeType);
4588 return Context.getMemberPointerType(PointeeType, ClassType.getTypePtr());
4597 return Context.getConstantArrayType(ElementType, Size,
4605 return Context.getIncompleteArrayType(ElementType, ASM, IndexTypeQuals);
4614 return Context.getVariableArrayType(ElementType, ReadExpr(*Loc.F),
4628 return Context.getVectorType(ElementType, NumElements,
4640 return Context.getExtVectorType(ElementType, NumElements);
4651 return Context.getFunctionNoProtoType(ResultType, Info);
4691 return Context.getFunctionType(ResultType, ParamTypes, EPI);
4696 return Context.getTypeDeclType(
4709 Canonical = Context.getCanonicalType(Canonical);
4710 return Context.getTypedefType(Decl, Canonical);
4714 return Context.getTypeOfExprType(ReadExpr(*Loc.F));
4722 return Context.getTypeOfType(UnderlyingType);
4727 return Context.getDecltypeType(ReadExpr(*Loc.F), UnderlyingType);
4734 return Context.getUnaryTransformType(BaseType, UnderlyingType, UKind);
4741 return Context.getAutoType(Deduced, IsDecltypeAuto, IsDependent);
4753 QualType T = Context.getRecordType(RD);
4766 = Context.getEnumType(ReadDeclAs<EnumDecl>(*Loc.F, Record, Idx));
4779 return Context.getAttributedType(kind, modifiedType, equivalentType);
4788 return Context.getParenType(InnerType);
4802 return Context.getPackExpansionType(Pattern, NumExpansions);
4810 return Context.getElaboratedType(Keyword, NNS, NamedType);
4817 return Context.getObjCInterfaceType(ItfD->getCanonicalDecl());
4827 return Context.getObjCObjectType(Base, Protos.data(), NumProtos);
4833 return Context.getObjCObjectPointerType(Pointee);
4841 Context.getSubstTemplateTypeParmType(cast<TemplateTypeParmType>(Parm),
4849 return Context.getSubstTemplateTypeParmPackType(
4860 QualType(new (Context, TypeAlignment) InjectedClassNameType(D, TST), 0);
4870 return Context.getTemplateTypeParmType(Depth, Index, Pack, D);
4880 Canon = Context.getCanonicalType(Canon);
4881 return Context.getDependentNameType(Keyword, NNS, Name, Canon);
4894 return Context.getDependentTemplateSpecializationType(Keyword, NNS, Name,
4911 return Context.getDependentSizedArrayType(ElementType, NumElts, ASM,
4924 T = Context.getCanonicalTemplateSpecializationType(Name, Args.data(),
4927 T = Context.getTemplateSpecializationType(Name, Args.data(),
4939 return Context.getAtomicType(ValueType);
5207 case PREDEF_TYPE_VOID_ID: T = Context.VoidTy; break;
5208 case PREDEF_TYPE_BOOL_ID: T = Context.BoolTy; break;
5213 T = Context.CharTy;
5216 case PREDEF_TYPE_UCHAR_ID: T = Context.UnsignedCharTy; break;
5217 case PREDEF_TYPE_USHORT_ID: T = Context.UnsignedShortTy; break;
5218 case PREDEF_TYPE_UINT_ID: T = Context.UnsignedIntTy; break;
5219 case PREDEF_TYPE_ULONG_ID: T = Context.UnsignedLongTy; break;
5220 case PREDEF_TYPE_ULONGLONG_ID: T = Context.UnsignedLongLongTy; break;
5221 case PREDEF_TYPE_UINT128_ID: T = Context.UnsignedInt128Ty; break;
5222 case PREDEF_TYPE_SCHAR_ID: T = Context.SignedCharTy; break;
5223 case PREDEF_TYPE_WCHAR_ID: T = Context.WCharTy; break;
5224 case PREDEF_TYPE_SHORT_ID: T = Context.ShortTy; break;
5225 case PREDEF_TYPE_INT_ID: T = Context.IntTy; break;
5226 case PREDEF_TYPE_LONG_ID: T = Context.LongTy; break;
5227 case PREDEF_TYPE_LONGLONG_ID: T = Context.LongLongTy; break;
5228 case PREDEF_TYPE_INT128_ID: T = Context.Int128Ty; break;
5229 case PREDEF_TYPE_HALF_ID: T = Context.HalfTy; break;
5230 case PREDEF_TYPE_FLOAT_ID: T = Context.FloatTy; break;
5231 case PREDEF_TYPE_DOUBLE_ID: T = Context.DoubleTy; break;
5232 case PREDEF_TYPE_LONGDOUBLE_ID: T = Context.LongDoubleTy; break;
5233 case PREDEF_TYPE_OVERLOAD_ID: T = Context.OverloadTy; break;
5234 case PREDEF_TYPE_BOUND_MEMBER: T = Context.BoundMemberTy; break;
5235 case PREDEF_TYPE_PSEUDO_OBJECT: T = Context.PseudoObjectTy; break;
5236 case PREDEF_TYPE_DEPENDENT_ID: T = Context.DependentTy; break;
5237 case PREDEF_TYPE_UNKNOWN_ANY: T = Context.UnknownAnyTy; break;
5238 case PREDEF_TYPE_NULLPTR_ID: T = Context.NullPtrTy; break;
5239 case PREDEF_TYPE_CHAR16_ID: T = Context.Char16Ty; break;
5240 case PREDEF_TYPE_CHAR32_ID: T = Context.Char32Ty; break;
5241 case PREDEF_TYPE_OBJC_ID: T = Context.ObjCBuiltinIdTy; break;
5242 case PREDEF_TYPE_OBJC_CLASS: T = Context.ObjCBuiltinClassTy; break;
5243 case PREDEF_TYPE_OBJC_SEL: T = Context.ObjCBuiltinSelTy; break;
5244 case PREDEF_TYPE_IMAGE1D_ID: T = Context.OCLImage1dTy; break;
5245 case PREDEF_TYPE_IMAGE1D_ARR_ID: T = Context.OCLImage1dArrayTy; break;
5246 case PREDEF_TYPE_IMAGE1D_BUFF_ID: T = Context.OCLImage1dBufferTy; break;
5247 case PREDEF_TYPE_IMAGE2D_ID: T = Context.OCLImage2dTy; break;
5248 case PREDEF_TYPE_IMAGE2D_ARR_ID: T = Context.OCLImage2dArrayTy; break;
5249 case PREDEF_TYPE_IMAGE3D_ID: T = Context.OCLImage3dTy; break;
5250 case PREDEF_TYPE_SAMPLER_ID: T = Context.OCLSamplerTy; break;
5251 case PREDEF_TYPE_EVENT_ID: T = Context.OCLEventTy; break;
5252 case PREDEF_TYPE_AUTO_DEDUCT: T = Context.getAutoDeductType(); break;
5255 T = Context.getAutoRRefDeductType();
5259 T = Context.ARCUnbridgedCastTy;
5263 T = Context.getVaListTagType();
5267 T = Context.BuiltinFnTy;
5402 void *Mem = Context.Allocate(sizeof(CXXBaseSpecifier) * NumBases);
5462 return Context.getTranslationUnitDecl();
5465 return Context.getObjCIdDecl();
5468 return Context.getObjCSelDecl();
5471 return Context.getObjCClassDecl();
5474 return Context.getObjCProtocolDecl();
5477 return Context.getInt128Decl();
5480 return Context.getUInt128Decl();
5483 return Context.getObjCInstanceTypeDecl();
5486 return Context.getBuiltinVaListDecl();
6771 return Context.DeclarationNames.getCXXConstructorName(
6772 Context.getCanonicalType(readType(F, Record, Idx)));
6775 return Context.DeclarationNames.getCXXDestructorName(
6776 Context.getCanonicalType(readType(F, Record, Idx)));
6779 return Context.DeclarationNames.getCXXConversionFunctionName(
6780 Context.getCanonicalType(readType(F, Record, Idx)));
6783 return Context.DeclarationNames.getCXXOperatorName(
6787 return Context.DeclarationNames.getCXXLiteralOperatorName(
6845 Info.TemplParamLists = new (Context) TemplateParameterList*[NumTPLists];
6865 return Context.getOverloadedTemplateName(Decls.begin(), Decls.end());
6872 return Context.getQualifiedTemplateName(NNS, hasTemplKeyword, Template);
6878 return Context.getDependentTemplateName(NNS,
6881 return Context.getDependentTemplateName(NNS,
6890 return Context.getSubstTemplateTemplateParm(param, replacement);
6903 return Context.getSubstTemplateTemplateParmPack(Param, ArgPack);
6929 return TemplateArgument(Context, Value, T);
6944 TemplateArgument *Args = new (Context) TemplateArgument[NumArgs];
6968 TemplateParameterList::Create(Context, TemplateLoc, LAngleLoc,
6988 Set.reserve(Context, NumDecls);
6992 Set.addLazyDecl(Context, ID, AS);
7019 = new (Context) CXXCtorInitializer*[NumInitializers];
7064 BOMInit = new (Context) CXXCtorInitializer(Context, TInfo, IsBaseVirtual,
7068 BOMInit = new (Context) CXXCtorInitializer(Context, TInfo, LParenLoc,
7072 BOMInit = new (Context) CXXCtorInitializer(Context, Member, MemberOrEllipsisLoc,
7075 BOMInit = new (Context) CXXCtorInitializer(Context, IndirectMember,
7081 BOMInit = new (Context) CXXCtorInitializer(Context, IndirectMember,
7085 BOMInit = CXXCtorInitializer::Create(Context, Member, MemberOrEllipsisLoc,
7111 NNS = NestedNameSpecifier::Create(Context, Prev, II);
7117 NNS = NestedNameSpecifier::Create(Context, Prev, NS);
7123 NNS = NestedNameSpecifier::Create(Context, Prev, Alias);
7134 NNS = NestedNameSpecifier::Create(Context, Prev, Template, T);
7139 NNS = NestedNameSpecifier::GlobalSpecifier(Context);
7161 Builder.Extend(Context, II, Range.getBegin(), Range.getEnd());
7168 Builder.Extend(Context, NS, Range.getBegin(), Range.getEnd());
7175 Builder.Extend(Context, Alias, Range.getBegin(), Range.getEnd());
7188 Builder.Extend(Context,
7196 Builder.MakeGlobal(Context, ColonColonLoc);
7202 return Builder.getWithLocInContext(Context);
7259 return CXXTemporary::Create(Context, Decl);
7332 Comments.push_back(new (Context) RawComment(
7334 Context.getLangOpts().CommentOpts.ParseAllComments));
7341 Context.Comments.addCommentsToFront(Comments);
7588 ASTReader::ASTReader(Preprocessor &PP, ASTContext &Context,
7593 Diags(PP.getDiagnostics()), SemaObj(0), PP(PP), Context(Context),