Home
last modified time | relevance | path

Searched refs:ThisTy (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Sema/
DSemaExprMember.cpp837 QualType ThisTy = getCurrentThisType(); in BuildAnonymousStructUnionMemberReference() local
838 if (ThisTy.isNull()) { in BuildAnonymousStructUnionMemberReference()
847 = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/ true); in BuildAnonymousStructUnionMemberReference()
849 baseQuals = ThisTy->castAs<PointerType>()->getPointeeType().getQualifiers(); in BuildAnonymousStructUnionMemberReference()
1849 QualType ThisTy = getCurrentThisType(); in BuildImplicitMemberExpr() local
1850 assert(!ThisTy.isNull() && "didn't correctly pre-flight capture of 'this'"); in BuildImplicitMemberExpr()
1858 baseExpr = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/true); in BuildImplicitMemberExpr()
1861 return BuildMemberReferenceExpr(baseExpr, ThisTy, in BuildImplicitMemberExpr()
DSemaExprCXX.cpp876 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda() argument
879 QualType ClassType = ThisTy->getPointeeType(); in adjustCVQualifiersForCXXThisWithinLambda()
963 QualType ThisTy = CXXThisTypeOverride; in getCurrentThisType() local
966 ThisTy = method->getThisType(Context); in getCurrentThisType()
968 if (ThisTy.isNull()) { in getCurrentThisType()
988 ThisTy = Context.getPointerType(ClassTy); in getCurrentThisType()
995 if (!ThisTy.isNull() && isLambdaCallOperator(CurContext)) in getCurrentThisType()
996 return adjustCVQualifiersForCXXThisWithinLambda(FunctionScopes, ThisTy, in getCurrentThisType()
998 return ThisTy; in getCurrentThisType()
1033 QualType ThisTy, SourceLocation Loc, in captureThis() argument
[all …]
DSemaLookup.cpp2919 QualType ThisTy = CanTy; in LookupSpecialMember() local
2921 ThisTy.addConst(); in LookupSpecialMember()
2923 ThisTy.addVolatile(); in LookupSpecialMember()
2925 OpaqueValueExpr(SourceLocation(), ThisTy, in LookupSpecialMember()
2958 AddMethodCandidate(M, Cand, RD, ThisTy, Classification, in LookupSpecialMember()
2970 Tmpl, Cand, RD, nullptr, ThisTy, Classification, in LookupSpecialMember()
DSemaCodeComplete.cpp1515 QualType ThisTy = S.getCurrentThisType(); in addThisCompletion() local
1516 if (ThisTy.isNull()) in addThisCompletion()
1522 Builder.AddResultTypeChunk(GetCompletionTypeString(ThisTy, in addThisCompletion()
/external/llvm-project/clang/lib/CodeGen/
DCGClass.cpp523 QualType ThisTy = D->getThisObjectType(); in Emit() local
529 /*Delegating=*/false, Addr, ThisTy); in Emit()
1472 QualType ThisTy = Dtor->getThisObjectType(); in EmitDestructorBody() local
1474 /*Delegating=*/false, LoadCXXThisAddress(), ThisTy); in EmitDestructorBody()
1506 QualType ThisTy = Dtor->getThisObjectType(); in EmitDestructorBody() local
1508 /*Delegating=*/false, LoadCXXThisAddress(), ThisTy); in EmitDestructorBody()
2402 QualType ThisTy = Dtor->getThisObjectType(); in Emit() local
2404 /*Delegating=*/true, Addr, ThisTy); in Emit()
2443 QualType ThisTy) { in EmitCXXDestructorCall() argument
2445 Delegating, This, ThisTy); in EmitCXXDestructorCall()
DCGExprCXX.cpp94 GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, QualType ThisTy, in EmitCXXDestructorCall() argument
98 assert(!ThisTy.isNull()); in EmitCXXDestructorCall()
99 assert(ThisTy->getAsCXXRecordDecl() == DtorDecl->getParent() && in EmitCXXDestructorCall()
102 LangAS SrcAS = ThisTy.getAddressSpace(); in EmitCXXDestructorCall()
380 QualType ThisTy = in EmitCXXMemberOrOperatorMemberCallExpr() local
382 EmitCXXDestructorCall(GD, Callee, This.getPointer(*this), ThisTy, in EmitCXXMemberOrOperatorMemberCallExpr()
DCGCXXABI.h410 Address This, QualType ThisTy) = 0;
DItaniumCXXABI.cpp240 QualType ThisTy) override;
1714 QualType ThisTy) { in EmitDestructorCall() argument
1727 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, VTT, VTTTy, in EmitDestructorCall()
1949 QualType ThisTy; in EmitVirtualDestructorCall() local
1951 ThisTy = CE->getObjectType(); in EmitVirtualDestructorCall()
1953 ThisTy = D->getDestroyedType(); in EmitVirtualDestructorCall()
1956 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, nullptr, in EmitVirtualDestructorCall()
DMicrosoftCXXABI.cpp271 QualType ThisTy) override;
1608 QualType ThisTy) { in EmitDestructorCall() argument
1633 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, in EmitDestructorCall()
1973 QualType ThisTy; in EmitVirtualDestructorCall() local
1975 ThisTy = CE->getObjectType(); in EmitVirtualDestructorCall()
1977 ThisTy = D->getDestroyedType(); in EmitVirtualDestructorCall()
1981 RValue RV = CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, in EmitVirtualDestructorCall()
DCodeGenFunction.cpp1131 QualType ThisTy = MD->getThisType(); in StartFunction() local
1142 Loc, CXXABIThisValue, ThisTy, in StartFunction()
1143 getContext().getTypeAlignInChars(ThisTy->getPointeeType()), in StartFunction()
DCodeGenFunction.h2816 QualType ThisTy);
3958 llvm::Value *This, QualType ThisTy,
/external/clang/utils/TableGen/
DNeonEmitter.cpp1368 Type ThisTy = getReturnType(); in emitBodyAsBuiltinCall() local
1370 ThisTy = getParamType(0); in emitBodyAsBuiltinCall()
1371 if (ThisTy.isPointer()) in emitBodyAsBuiltinCall()
1372 ThisTy = getParamType(1); in emitBodyAsBuiltinCall()
1374 S += utostr(ThisTy.getNeonEnum()); in emitBodyAsBuiltinCall()
/external/llvm-project/clang/lib/Sema/
DSemaExprMember.cpp1865 QualType ThisTy = getCurrentThisType(); in BuildImplicitMemberExpr() local
1866 assert(!ThisTy.isNull() && "didn't correctly pre-flight capture of 'this'"); in BuildImplicitMemberExpr()
1873 baseExpr = BuildCXXThisExpr(loc, ThisTy, /*IsImplicit=*/true); in BuildImplicitMemberExpr()
1876 return BuildMemberReferenceExpr(baseExpr, ThisTy, in BuildImplicitMemberExpr()
DSemaExprCXX.cpp1059 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda() argument
1062 QualType ClassType = ThisTy->getPointeeType(); in adjustCVQualifiersForCXXThisWithinLambda()
1171 QualType ThisTy = CXXThisTypeOverride; in getCurrentThisType() local
1175 ThisTy = method->getThisType(); in getCurrentThisType()
1178 if (ThisTy.isNull() && isLambdaCallOperator(CurContext) && in getCurrentThisType()
1191 ThisTy = Context.getPointerType(ClassTy); in getCurrentThisType()
1197 if (!ThisTy.isNull() && isLambdaCallOperator(CurContext)) in getCurrentThisType()
1198 return adjustCVQualifiersForCXXThisWithinLambda(FunctionScopes, ThisTy, in getCurrentThisType()
1200 return ThisTy; in getCurrentThisType()
1322 QualType ThisTy = getCurrentThisType(); in CheckCXXThisCapture() local
[all …]
DSemaLookup.cpp3140 QualType ThisTy = CanTy; in LookupSpecialMember() local
3142 ThisTy.addConst(); in LookupSpecialMember()
3144 ThisTy.addVolatile(); in LookupSpecialMember()
3146 OpaqueValueExpr(LookupLoc, ThisTy, in LookupSpecialMember()
3179 AddMethodCandidate(M, Cand, RD, ThisTy, Classification, in LookupSpecialMember()
3192 Tmpl, Cand, RD, nullptr, ThisTy, Classification, in LookupSpecialMember()
DSemaLambda.cpp1591 QualType ThisTy = getCurrentThisType(); in BuildCaptureInit() local
1592 Expr *This = BuildCXXThisExpr(Loc, ThisTy, ImplicitCaptureLoc.isValid()); in BuildCaptureInit()
DSemaCodeComplete.cpp1918 QualType ThisTy = S.getCurrentThisType(); in addThisCompletion() local
1919 if (ThisTy.isNull()) in addThisCompletion()
1926 GetCompletionTypeString(ThisTy, S.Context, Policy, Allocator)); in addThisCompletion()
DSemaOpenMP.cpp4295 QualType ThisTy = getCurrentThisType(); in tryCaptureOpenMPLambdas() local
4296 if (!ThisTy.isNull() && in tryCaptureOpenMPLambdas()
4297 Context.typesAreCompatible(ThisTy, ThisCapture->getType())) in tryCaptureOpenMPLambdas()