Home
last modified time | relevance | path

Searched refs:ParmVarDecl (Results 1 – 25 of 100) sorted by relevance

1234

/external/clang/include/clang/AST/
DSelectorLocationsKind.h24 class ParmVarDecl; variable
66 ArrayRef<ParmVarDecl *> Args,
78 ArrayRef<ParmVarDecl *> Args,
DCommentSema.h227 ArrayRef<const ParmVarDecl *> getParamVars();
235 ArrayRef<const ParmVarDecl *> ParamVars);
240 ArrayRef<const ParmVarDecl *> ParamVars);
DDecl.h738 friend class ParmVarDecl; variable
1233 class ParmVarDecl : public VarDecl {
1239 ParmVarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in ParmVarDecl() function
1250 static ParmVarDecl *Create(ASTContext &C, DeclContext *DC,
1256 static ParmVarDecl *CreateDeserialized(ASTContext &C, unsigned ID);
1315 return const_cast<ParmVarDecl *>(this)->getDefaultArg(); in getDefaultArg()
1441 ParmVarDecl **ParamInfo;
1536 void setParams(ASTContext &C, ArrayRef<ParmVarDecl *> NewParamInfo);
1839 typedef ParmVarDecl **param_iterator;
1840 typedef ParmVarDecl * const *param_const_iterator;
[all …]
DDeclObjC.h207 ParmVarDecl **getParams() { in getParams()
208 return reinterpret_cast<ParmVarDecl **>(ParamsAndSelLocs); in getParams()
210 const ParmVarDecl *const *getParams() const { in getParams()
211 return reinterpret_cast<const ParmVarDecl *const *>(ParamsAndSelLocs); in getParams()
223 ArrayRef<ParmVarDecl*> Params,
344 typedef const ParmVarDecl *const *param_const_iterator;
345 typedef ParmVarDecl *const *param_iterator;
371 ArrayRef<ParmVarDecl*> parameters() const { in parameters()
372 return llvm::makeArrayRef(const_cast<ParmVarDecl**>(getParams()), in parameters()
380 ArrayRef<ParmVarDecl*> Params,
[all …]
DTypeLoc.h26 class ParmVarDecl; variable
1210 ArrayRef<ParmVarDecl *> getParams() const { in getParams()
1211 return ArrayRef<ParmVarDecl *>(getParmArray(), getNumParams()); in getParams()
1215 ParmVarDecl **getParmArray() const { in getParmArray()
1216 return (ParmVarDecl**) getExtraLocalData(); in getParmArray()
1224 ParmVarDecl *getParam(unsigned i) const { return getParmArray()[i]; } in getParam()
1225 void setParam(unsigned i, ParmVarDecl *VD) { getParmArray()[i] = VD; } in setParam()
1247 return getNumParams() * sizeof(ParmVarDecl *); in getExtraLocalDataSize()
1251 return llvm::alignOf<ParmVarDecl*>(); in getExtraLocalDataAlignment()
DExprCXX.h861 llvm::PointerIntPair<ParmVarDecl *, 1, bool> Param;
866 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param) in CXXDefaultArgExpr()
875 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param, in CXXDefaultArgExpr()
890 ParmVarDecl *Param) { in Create()
897 ParmVarDecl *Param, Expr *SubExpr);
900 const ParmVarDecl *getParam() const { return Param.getPointer(); } in getParam()
901 ParmVarDecl *getParam() { return Param.getPointer(); } in getParam()
3631 ParmVarDecl *ParamPack;
3639 FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack,
3648 ParmVarDecl *ParamPack,
[all …]
/external/clang/lib/AST/
DSelectorLocationsKind.cpp56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc()
116 ArrayRef<ParmVarDecl *> Args, in hasStandardSelectorLocs()
124 ArrayRef<ParmVarDecl *> Args, in getStandardSelectorLoc()
DComment.cpp160 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), in fill()
181 ParamVars = ArrayRef<const ParmVarDecl *>(MD->param_begin(), in fill()
194 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), in fill()
281 ArrayRef<ParmVarDecl *> Params = FTL.getParams(); in fill()
282 ParamVars = ArrayRef<const ParmVarDecl *>(Params.data(), in fill()
302 ArrayRef<ParmVarDecl *> Params = FTL.getParams(); in fill()
303 ParamVars = ArrayRef<const ParmVarDecl *>(Params.data(), in fill()
DDecl.cpp1089 if (isa<ParmVarDecl>(ContextDecl)) in getLVForClosure()
2182 ParmVarDecl *ParmVarDecl::Create(ASTContext &C, DeclContext *DC, in Create()
2187 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
2191 QualType ParmVarDecl::getOriginalType() const { in getOriginalType()
2199 ParmVarDecl *ParmVarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2201 ParmVarDecl(ParmVar, C, nullptr, SourceLocation(), SourceLocation(), in CreateDeserialized()
2205 SourceRange ParmVarDecl::getSourceRange() const { in getSourceRange()
2220 Expr *ParmVarDecl::getDefaultArg() { in getDefaultArg()
2232 SourceRange ParmVarDecl::getDefaultArgRange() const { in getDefaultArgRange()
2242 bool ParmVarDecl::isParameterPack() const { in isParameterPack()
[all …]
DCommentSema.cpp726 ArrayRef<const ParmVarDecl *> ParamVars = getParamVars(); in resolveParamCommandIndexes()
761 SmallVector<const ParmVarDecl *, 8> OrphanedParamDecls; in resolveParamCommandIndexes()
793 const ParmVarDecl *CorrectedPVD = OrphanedParamDecls[CorrectedParamIndex]; in resolveParamCommandIndexes()
931 ArrayRef<const ParmVarDecl *> Sema::getParamVars() { in getParamVars()
942 ArrayRef<const ParmVarDecl *> ParamVars) { in resolveParmVarReference()
1009 ArrayRef<const ParmVarDecl *> ParamVars) { in correctTypoInParmVarReference()
/external/clang/test/Misc/
Dast-dump-decl.m32 // CHECK-NEXT: ParmVarDecl{{.*}} i 'int'
43 // CHECK-NEXT: ParmVarDecl{{.*}} i 'int'
108 // CHECK-NEXT: ParmVarDecl{{.*}} foo
111 // CHECK-NEXT: ParmVarDecl{{.*}} bar
133 // CHECK-NEXT: ParmVarDecl{{.*}} y 'int'
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp300 ParmVarDecl *Param, in InstantiatingTemplate()
513 ParmVarDecl *Param = cast<ParmVarDecl>(Active->Entity); in PrintInstantiationStack()
689 void ExpandingFunctionParameterPack(ParmVarDecl *Pack) { in ExpandingFunctionParameterPack()
780 ExprResult RebuildParmVarDeclRefExpr(ParmVarDecl *PD, SourceLocation Loc);
784 ParmVarDecl *PD);
798 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm,
1209 TemplateInstantiator::RebuildParmVarDeclRefExpr(ParmVarDecl *PD, in RebuildParmVarDeclRefExpr()
1219 ParmVarDecl *D = E->getExpansion(getSema().ArgumentPackSubstitutionIndex); in TransformFunctionParmPackExpr()
1223 return RebuildParmVarDeclRefExpr(cast<ParmVarDecl>(VD), E->getExprLoc()); in TransformFunctionParmPackExpr()
1236 ParmVarDecl *D = in TransformFunctionParmPackExpr()
[all …]
DSemaLambda.cpp294 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(ManglingContextDecl)) { in getCurrentMangleNumberContext()
317 !(ManglingContextDecl && isa<ParmVarDecl>(ManglingContextDecl))) || in getCurrentMangleNumberContext()
357 ArrayRef<ParmVarDecl *> Params) { in startLambdaDefinition()
416 CheckParmsForFunctionDef(const_cast<ParmVarDecl **>(Params.begin()), in startLambdaDefinition()
417 const_cast<ParmVarDecl **>(Params.end()), in startLambdaDefinition()
478 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters()
860 SmallVector<ParmVarDecl *, 8> Params; in ActOnStartOfLambdaDefinition()
905 Params.push_back(cast<ParmVarDecl>(FTI.Params[i].Param)); in ActOnStartOfLambdaDefinition()
1244 SmallVector<ParmVarDecl *, 4> InvokerParams; in addFunctionPointerConversion()
1246 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion()
[all …]
DSemaExprObjC.cpp240 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method, in getNSNumberFactoryMethod()
294 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral()
508 ParmVarDecl *value = in BuildObjCBoxedExpr()
509 ParmVarDecl::Create(Context, M, in BuildObjCBoxedExpr()
584 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr()
668 SmallVector<ParmVarDecl *, 2> Params; in BuildObjCArrayLiteral()
669 ParmVarDecl *objects = ParmVarDecl::Create(Context, Method, in BuildObjCArrayLiteral()
677 ParmVarDecl *cnt = ParmVarDecl::Create(Context, Method, in BuildObjCArrayLiteral()
786 SmallVector<ParmVarDecl *, 3> Params; in BuildObjCDictionaryLiteral()
787 ParmVarDecl *objects = ParmVarDecl::Create(Context, Method, in BuildObjCDictionaryLiteral()
[all …]
/external/clang/lib/Analysis/
DBodyFarm.cpp179 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once()
189 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once()
257 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync()
299 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap()
302 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap()
307 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
/external/clang/include/clang/Sema/
DSemaInternal.h32 cast<ParmVarDecl>(FTI.Params[0].Param)->getType()->isVoidType(); in FTIHasSingleVoidParameter()
45 return !isa<ParmVarDecl>(Var) && in IsVariableAConstantExpression()
DInitialization.h34 class ParmVarDecl; variable
205 ParmVarDecl *Parm) { in InitializeParameter()
212 ParmVarDecl *Parm, in InitializeParameter()
/external/clang/unittests/AST/
DSourceLocationTest.cpp80 TEST(ParmVarDecl, KNRLocation) { in TEST() argument
81 LocationVerifier<ParmVarDecl> Verifier; in TEST()
86 TEST(ParmVarDecl, KNRRange) { in TEST() argument
87 RangeVerifier<ParmVarDecl> Verifier; in TEST()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h344 typedef std::const_mem_fun_t<QualType, ParmVarDecl> get_type_fun;
352 virtual ArrayRef<ParmVarDecl*> parameters() const = 0;
354 typedef llvm::mapped_iterator<ArrayRef<ParmVarDecl*>::iterator, get_type_fun>
364 get_type_fun(&ParmVarDecl::getType)); in param_type_begin()
369 get_type_fun(&ParmVarDecl::getType)); in param_type_end()
417 ArrayRef<ParmVarDecl *> parameters() const override;
511 ArrayRef<ParmVarDecl*> parameters() const override;
880 ArrayRef<ParmVarDecl*> parameters() const override;
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp70 const ParmVarDecl *ParamDecl) const;
87 const ParmVarDecl *ParamDecl, const char *BD) const;
137 const ParmVarDecl *ParamDecl, in uninitRefOrPointer()
188 const ParmVarDecl *ParamDecl in PreVisitProcessArg()
422 const ParmVarDecl *ParamDecl = nullptr; in checkPreCall()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp289 ArrayRef<ParmVarDecl*> parameters) { in addParameterValuesToBindings()
296 ArrayRef<ParmVarDecl*>::iterator I = parameters.begin(), E = parameters.end(); in addParameterValuesToBindings()
298 const ParmVarDecl *ParamDecl = *I; in addParameterValuesToBindings()
311 ArrayRef<ParmVarDecl*> AnyFunctionCall::parameters() const { in parameters()
545 ArrayRef<ParmVarDecl*> BlockCall::parameters() const { in parameters()
607 ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const { in parameters()
610 return ArrayRef<ParmVarDecl*>(); in parameters()
/external/lldb/include/lldb/Symbol/
DClangASTContext.h369 clang::ParmVarDecl *
376 clang::ParmVarDecl **params,
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp387 std::vector <clang::ParmVarDecl*> parm_vars; in BuildMethod()
398 parm_vars.push_back(clang::ParmVarDecl::Create(ast_ctx, in BuildMethod()
409 …ret->setMethodParams(ast_ctx, llvm::ArrayRef<clang::ParmVarDecl*>(parm_vars), llvm::ArrayRef<clang… in BuildMethod()
/external/clang/tools/libclang/
DIndexDecl.cpp42 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator()
/external/lldb/include/lldb/Core/
DClangForward.h95 class ParmVarDecl; variable

1234