Lines Matching refs:ThisTy
694 QualType ThisTy = CXXThisTypeOverride;
697 ThisTy = method->getThisType(Context);
700 return ThisTy;
733 QualType ThisTy, SourceLocation Loc) {
735 = FieldDecl::Create(Context, RD, Loc, Loc, 0, ThisTy,
736 Context.getTrivialTypeSourceInfo(ThisTy, Loc),
741 return new (Context) CXXThisExpr(Loc, ThisTy, /*isImplicit*/true);
783 QualType ThisTy = getCurrentThisType();
786 ThisExpr = captureThis(Context, LSI->Lambda, ThisTy, Loc);
789 ThisExpr = captureThis(Context, RSI->TheRecordDecl, ThisTy, Loc);
792 CSI->addThisCapture(isNested, Loc, ThisTy, ThisExpr);
801 QualType ThisTy = getCurrentThisType();
802 if (ThisTy.isNull()) return Diag(Loc, diag::err_invalid_this_use);
805 return Owned(new (Context) CXXThisExpr(Loc, ThisTy, /*isImplicit=*/false));