Home
last modified time | relevance | path

Searched refs:ImplicitParamDecl (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/test/Misc/
Dast-dump-decl.m41 // CHECK-NEXT: ImplicitParamDecl{{.*}} self
42 // CHECK-NEXT: ImplicitParamDecl{{.*}} _cmd
/external/clang/include/clang/Sema/
DScopeInfo.h36 class ImplicitParamDecl; variable
555 ImplicitParamDecl *ContextParam;
560 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/external/clang/include/clang/Analysis/
DAnalysisContext.h172 const ImplicitParamDecl *getSelfDecl() const;
243 const ImplicitParamDecl *getSelfDecl() const { in getSelfDecl()
/external/clang/lib/CodeGen/
DCGCXXABI.cpp158 ImplicitParamDecl *ThisDecl in buildThisParam()
159 = ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
DCGCXXABI.h50 ImplicitParamDecl *&getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
63 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
DCGBlocks.cpp844 ImplicitParamDecl blockFieldPseudoVar(getContext(), /*DC*/ nullptr, in EmitBlockLiteral()
1112 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1281 ImplicitParamDecl dstDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateCopyHelperFunction()
1284 ImplicitParamDecl srcDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateCopyHelperFunction()
1457 ImplicitParamDecl srcDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateDestroyHelperFunction()
1743 ImplicitParamDecl dst(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefCopyHelper()
1747 ImplicitParamDecl src(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefCopyHelper()
1817 ImplicitParamDecl src(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefDisposeHelper()
DCGObjC.cpp1415 ImplicitParamDecl *selfDecl = OMD->getSelfDecl(); in TypeOfSelfObject()
2904 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
2906 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
2983 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
2985 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
DCGDeclCXX.cpp528 ImplicitParamDecl dst(getContext(), nullptr, SourceLocation(), nullptr, in generateDestroyHelper()
DMicrosoftCXXABI.cpp1050 ImplicitParamDecl *IsMostDerived in addImplicitStructorParams()
1051 = ImplicitParamDecl::Create(Context, nullptr, in addImplicitStructorParams()
1064 ImplicitParamDecl *ShouldDelete in addImplicitStructorParams()
1065 = ImplicitParamDecl::Create(Context, nullptr, in addImplicitStructorParams()
DCGDecl.cpp1612 assert((isa<ParmVarDecl>(D) || isa<ImplicitParamDecl>(D)) && in EmitParmDecl()
1620 if (isa<ImplicitParamDecl>(D)) { in EmitParmDecl()
DCodeGenFunction.h922 ImplicitParamDecl *CXXABIThisDecl;
932 ImplicitParamDecl *CXXStructorImplicitParamDecl;
/external/clang/lib/Frontend/
DASTConsumers.cpp431 ImplicitParamDecl* IPD = cast<ImplicitParamDecl>(I); in PrintDeclContext()
/external/clang/include/clang/AST/
DDecl.h1211 class ImplicitParamDecl : public VarDecl {
1214 static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC,
1218 static ImplicitParamDecl *CreateDeserialized(ASTContext &C, unsigned ID);
1220 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() function
3428 ImplicitParamDecl **getParams() const { in getParams()
3429 return reinterpret_cast<ImplicitParamDecl **>( in getParams()
3447 ImplicitParamDecl *getParam(unsigned i) const { in getParam()
3451 void setParam(unsigned i, ImplicitParamDecl *P) { in setParam()
3457 ImplicitParamDecl *getContextParam() const { in getContextParam()
3461 void setContextParam(unsigned i, ImplicitParamDecl *P) { in setContextParam()
[all …]
DDeclObjC.h184 ImplicitParamDecl *SelfDecl;
187 ImplicitParamDecl *CmdDecl;
402 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
403 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
404 ImplicitParamDecl * getCmdDecl() const { return CmdDecl; } in getCmdDecl()
405 void setCmdDecl(ImplicitParamDecl *CD) { CmdDecl = CD; } in setCmdDecl()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp456 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
DTransZeroOutPropsInDealloc.cpp33 ImplicitParamDecl *SelfD;
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp131 const ImplicitParamDecl *AnalysisDeclContext::getSelfDecl() const { in getSelfDecl()
139 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
/external/clang/lib/AST/
DDecl.cpp3670 void ImplicitParamDecl::anchor() { } in anchor()
3672 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3676 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type); in Create()
3679 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3681 return new (C, ID) ImplicitParamDecl(C, nullptr, SourceLocation(), nullptr, in CreateDeserialized()
3716 return new (C, DC, NumParams * sizeof(ImplicitParamDecl *)) in Create()
3722 return new (C, ID, NumParams * sizeof(ImplicitParamDecl *)) in CreateDeserialized()
DDeclObjC.cpp927 ImplicitParamDecl *self in createImplicitParams()
928 = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
938 setCmdDecl(ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
/external/clang/lib/Sema/
DSemaStmt.cpp3373 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3374 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
3408 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3409 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
3415 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3416 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, I->second); in ActOnCapturedRegionStart()
3426 ImplicitParamDecl *Param = in ActOnCapturedRegionStart()
3427 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
DSemaObjCProperty.cpp1142 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl()
1192 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp278 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
721 MD->setSelfDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
722 MD->setCmdDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
1040 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl()
1111 CD->setParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1113 CD->setContextParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
2776 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/external/clang/tools/libclang/
DCXCursor.cpp452 if (const ImplicitParamDecl *IPD = in MakeCXCursor()
453 dyn_cast_or_null<ImplicitParamDecl>(cast<DeclRefExpr>(S)->getDecl())) { in MakeCXCursor()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp167 if (isa<ImplicitParamDecl>(VD) || isa<ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp621 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()

12