Home
last modified time | relevance | path

Searched refs:ImplicitParamDecl (Results 1 – 25 of 43) 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/AST/
DDecl.h1324 class ImplicitParamDecl : public VarDecl {
1327 static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC,
1331 static ImplicitParamDecl *CreateDeserialized(ASTContext &C, unsigned ID);
1333 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() function
3629 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
3631 size_t numTrailingObjects(OverloadToken<ImplicitParamDecl>) { in numTrailingObjects() argument
3647 ImplicitParamDecl *const *getParams() const { in getParams()
3648 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
3651 ImplicitParamDecl **getParams() { in getParams()
3652 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
[all …]
DDeclObjC.h184 ImplicitParamDecl *SelfDecl;
187 ImplicitParamDecl *CmdDecl;
411 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
412 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
413 ImplicitParamDecl * getCmdDecl() const { return CmdDecl; } in getCmdDecl()
414 void setCmdDecl(ImplicitParamDecl *CD) { CmdDecl = CD; } in setCmdDecl()
/external/clang/include/clang/Sema/
DScopeInfo.h37 class ImplicitParamDecl; variable
605 ImplicitParamDecl *ContextParam;
610 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp139 const ImplicitParamDecl *AnalysisDeclContext::getSelfDecl() const { in getSelfDecl()
147 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
165 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
/external/clang/include/clang/Analysis/
DAnalysisContext.h181 const ImplicitParamDecl *getSelfDecl() const;
252 const ImplicitParamDecl *getSelfDecl() const { in getSelfDecl()
/external/clang/lib/CodeGen/
DCGCXXABI.cpp161 ImplicitParamDecl *ThisDecl in buildThisParam()
162 = ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
DCGBlocks.cpp863 ImplicitParamDecl blockFieldPseudoVar(getContext(), /*DC*/ nullptr, in EmitBlockLiteral()
1098 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter()
1168 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1325 ImplicitParamDecl dstDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateCopyHelperFunction()
1328 ImplicitParamDecl srcDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateCopyHelperFunction()
1504 ImplicitParamDecl srcDecl(getContext(), nullptr, SourceLocation(), nullptr, in GenerateDestroyHelperFunction()
1786 ImplicitParamDecl dst(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefCopyHelper()
1790 ImplicitParamDecl src(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefCopyHelper()
1863 ImplicitParamDecl src(CGF.getContext(), nullptr, SourceLocation(), nullptr, in generateByrefDisposeHelper()
DCGCXXABI.h52 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
68 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
DCGOpenMPRuntime.cpp1111 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, SourceLocation(), in emitThreadPrivateVarDefinition()
1143 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, SourceLocation(), in emitThreadPrivateVarDefinition()
1514 ImplicitParamDecl LHSArg(C, /*DC=*/nullptr, SourceLocation(), /*Id=*/nullptr, in emitCopyprivateCopyFunction()
1516 ImplicitParamDecl RHSArg(C, /*DC=*/nullptr, SourceLocation(), /*Id=*/nullptr, in emitCopyprivateCopyFunction()
2090 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty); in emitProxyTaskFunction()
2091 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, in emitProxyTaskFunction()
2157 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty); in emitDestructorsFunction()
2158 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, in emitDestructorsFunction()
2213 ImplicitParamDecl TaskPrivatesArg( in emitTaskPrivateMappingFunction()
2220 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
[all …]
DCGException.cpp1582 if (isa<ImplicitParamDecl>(VD)) { in EmitCapturedLocals()
1591 assert((isa<ImplicitParamDecl>(VD) || VD->isLocalVarDeclOrParm()) && in EmitCapturedLocals()
1641 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
1646 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
1651 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
DCGObjC.cpp1452 ImplicitParamDecl *selfDecl = OMD->getSelfDecl(); in TypeOfSelfObject()
2933 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
2935 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3014 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3016 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
DCodeGenFunction.h922 llvm::SmallDenseMap<const ParmVarDecl *, const ImplicitParamDecl *, 2>
1059 ImplicitParamDecl *CXXABIThisDecl;
1071 ImplicitParamDecl *CXXStructorImplicitParamDecl;
1278 void setBlockContextParameter(const ImplicitParamDecl *D, unsigned argNum,
DCGDeclCXX.cpp586 ImplicitParamDecl dst(getContext(), nullptr, SourceLocation(), nullptr, in generateDestroyHelper()
DMicrosoftCXXABI.cpp1376 ImplicitParamDecl *IsMostDerived in addImplicitStructorParams()
1377 = ImplicitParamDecl::Create(Context, nullptr, in addImplicitStructorParams()
1390 ImplicitParamDecl *ShouldDelete in addImplicitStructorParams()
1391 = ImplicitParamDecl::Create(Context, nullptr, in addImplicitStructorParams()
3817 ImplicitParamDecl SrcParam( in getAddrOfCXXCtorClosure()
3827 ImplicitParamDecl IsMostDerived(getContext(), nullptr, SourceLocation(), in getAddrOfCXXCtorClosure()
DCGDecl.cpp1741 assert((isa<ParmVarDecl>(D) || isa<ImplicitParamDecl>(D)) && in EmitParmDecl()
1749 if (auto IPD = dyn_cast<ImplicitParamDecl>(&D)) { in EmitParmDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp440 ImplicitParamDecl* IPD = cast<ImplicitParamDecl>(I); in PrintDeclContext()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp456 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
DTransZeroOutPropsInDealloc.cpp33 ImplicitParamDecl *SelfD;
/external/clang/lib/AST/
DDecl.cpp3840 void ImplicitParamDecl::anchor() { } in anchor()
3842 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3846 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type); in Create()
3849 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3851 return new (C, ID) ImplicitParamDecl(C, nullptr, SourceLocation(), nullptr, in CreateDeserialized()
3886 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create()
3892 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
DDeclObjC.cpp1023 ImplicitParamDecl *self in createImplicitParams()
1024 = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
1034 setCmdDecl(ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
/external/clang/lib/Sema/
DSemaStmt.cpp3824 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3825 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
3859 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3860 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
3866 ImplicitParamDecl *Param in ActOnCapturedRegionStart()
3867 = ImplicitParamDecl::Create(Context, DC, Loc, ParamName, I->second); in ActOnCapturedRegionStart()
3877 ImplicitParamDecl *Param = in ActOnCapturedRegionStart()
3878 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType); in ActOnCapturedRegionStart()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp290 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
851 MD->setSelfDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
852 MD->setCmdDecl(ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitObjCMethodDecl()
1194 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl()
1215 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl()
1285 CD->setParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
1287 CD->setContextParam(I, ReadDeclAs<ImplicitParamDecl>(Record, Idx)); in VisitCapturedDecl()
3274 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp165 if (isa<ImplicitParamDecl>(VD) || isa<ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()
/external/clang/tools/libclang/
DCXCursor.cpp468 if (const ImplicitParamDecl *IPD = in MakeCXCursor()
469 dyn_cast_or_null<ImplicitParamDecl>(cast<DeclRefExpr>(S)->getDecl())) { in MakeCXCursor()

12