Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprMember.cpp751 QualType ThisTy = getCurrentThisType(); in BuildAnonymousStructUnionMemberReference() local
752 if (ThisTy.isNull()) { in BuildAnonymousStructUnionMemberReference()
761 = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/ true); in BuildAnonymousStructUnionMemberReference()
763 baseQuals = ThisTy->castAs<PointerType>()->getPointeeType().getQualifiers(); in BuildAnonymousStructUnionMemberReference()
1670 QualType ThisTy = getCurrentThisType(); in BuildImplicitMemberExpr() local
1671 assert(!ThisTy.isNull() && "didn't correctly pre-flight capture of 'this'"); in BuildImplicitMemberExpr()
1679 baseExpr = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/true); in BuildImplicitMemberExpr()
1682 return BuildMemberReferenceExpr(baseExpr, ThisTy, in BuildImplicitMemberExpr()
DSemaExprCXX.cpp667 QualType ThisTy = CXXThisTypeOverride; in getCurrentThisType() local
670 ThisTy = method->getThisType(Context); in getCurrentThisType()
673 return ThisTy; in getCurrentThisType()
743 QualType ThisTy = getCurrentThisType(); in CheckCXXThisCapture() local
748 = FieldDecl::Create(Context, Lambda, Loc, Loc, 0, ThisTy, in CheckCXXThisCapture()
749 Context.getTrivialTypeSourceInfo(ThisTy, Loc), in CheckCXXThisCapture()
754 ThisExpr = new (Context) CXXThisExpr(Loc, ThisTy, /*isImplicit=*/true); in CheckCXXThisCapture()
757 CSI->addThisCapture(isNested, Loc, ThisTy, ThisExpr); in CheckCXXThisCapture()
766 QualType ThisTy = getCurrentThisType(); in ActOnCXXThis() local
767 if (ThisTy.isNull()) return Diag(Loc, diag::err_invalid_this_use); in ActOnCXXThis()
[all …]
DSemaLookup.cpp2334 QualType ThisTy = CanTy; in LookupSpecialMember() local
2336 ThisTy.addConst(); in LookupSpecialMember()
2338 ThisTy.addVolatile(); in LookupSpecialMember()
2340 OpaqueValueExpr(SourceLocation(), ThisTy, in LookupSpecialMember()
2371 AddMethodCandidate(M, DeclAccessPair::make(M, AS_public), RD, ThisTy, in LookupSpecialMember()
2381 RD, 0, ThisTy, Classification, in LookupSpecialMember()
DSemaCodeComplete.cpp1443 QualType ThisTy = S.getCurrentThisType(); in addThisCompletion() local
1444 if (ThisTy.isNull()) in addThisCompletion()
1450 Builder.AddResultTypeChunk(GetCompletionTypeString(ThisTy, in addThisCompletion()