/external/clang/include/clang/AST/ |
D | SelectorLocationsKind.h | 24 class ParmVarDecl; variable 66 ArrayRef<ParmVarDecl *> Args, 78 ArrayRef<ParmVarDecl *> Args,
|
D | Decl.h | 44 class ParmVarDecl; variable 830 friend class ParmVarDecl; variable 1210 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.ExceptionVar; in isExceptionVariable() 1213 assert(!isa<ParmVarDecl>(this)); in setExceptionVariable() 1228 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.NRVOVariable; in isNRVOVariable() 1231 assert(!isa<ParmVarDecl>(this)); in setNRVOVariable() 1238 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.CXXForRangeDecl; in isCXXForRangeDecl() 1241 assert(!isa<ParmVarDecl>(this)); in setCXXForRangeDecl() 1250 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.ARCPseudoStrong; in isARCPseudoStrong() 1253 assert(!isa<ParmVarDecl>(this)); in setARCPseudoStrong() [all …]
|
D | CommentSema.h | 223 ArrayRef<const ParmVarDecl *> getParamVars(); 231 ArrayRef<const ParmVarDecl *> ParamVars); 236 ArrayRef<const ParmVarDecl *> ParamVars);
|
D | ASTMutationListener.h | 33 class ParmVarDecl; variable 94 virtual void DefaultArgumentInstantiated(const ParmVarDecl *D) {} in DefaultArgumentInstantiated()
|
D | DeclObjC.h | 207 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, 349 typedef const ParmVarDecl *const *param_const_iterator; 350 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 …]
|
D | TypeLoc.h | 26 class ParmVarDecl; variable 1292 ArrayRef<ParmVarDecl *> getParams() const { in getParams() 1297 ParmVarDecl **getParmArray() const { in getParmArray() 1298 return (ParmVarDecl**) getExtraLocalData(); in getParmArray() 1306 ParmVarDecl *getParam(unsigned i) const { return getParmArray()[i]; } in getParam() 1307 void setParam(unsigned i, ParmVarDecl *VD) { getParmArray()[i] = VD; } in setParam() 1329 return getNumParams() * sizeof(ParmVarDecl *); in getExtraLocalDataSize() 1333 return llvm::alignOf<ParmVarDecl*>(); in getExtraLocalDataAlignment()
|
/external/clang/test/SemaObjC/ |
D | property-atomic-bool.m | 10 // CHECK: ParmVarDecl {{.*}} p '_Bool' 15 // CHECK: ParmVarDecl {{.*}} p '_Bool' 21 // CHECK: ParmVarDecl {{.*}} p '_Bool' 27 // CHECK: ParmVarDecl {{.*}} p '_Bool'
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc() 116 ArrayRef<ParmVarDecl *> Args, in hasStandardSelectorLocs() 124 ArrayRef<ParmVarDecl *> Args, in getStandardSelectorLoc()
|
D | Decl.cpp | 1121 if (isa<ParmVarDecl>(ContextDecl)) in getLVForClosure() 1532 if (isa<ParmVarDecl>(this)) in declarationReplaces() 2041 if (auto *P = dyn_cast<ParmVarDecl>(this)) in hasInit() 2328 ParmVarDecl *ParmVarDecl::Create(ASTContext &C, DeclContext *DC, in Create() 2333 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2337 QualType ParmVarDecl::getOriginalType() const { in getOriginalType() 2345 ParmVarDecl *ParmVarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2347 ParmVarDecl(ParmVar, C, nullptr, SourceLocation(), SourceLocation(), in CreateDeserialized() 2351 SourceRange ParmVarDecl::getSourceRange() const { in getSourceRange() 2366 Expr *ParmVarDecl::getDefaultArg() { in getDefaultArg() [all …]
|
D | CommentSema.cpp | 724 ArrayRef<const ParmVarDecl *> ParamVars = getParamVars(); in resolveParamCommandIndexes() 759 SmallVector<const ParmVarDecl *, 8> OrphanedParamDecls; in resolveParamCommandIndexes() 791 const ParmVarDecl *CorrectedPVD = OrphanedParamDecls[CorrectedParamIndex]; in resolveParamCommandIndexes() 929 ArrayRef<const ParmVarDecl *> Sema::getParamVars() { in getParamVars() 940 ArrayRef<const ParmVarDecl *> ParamVars) { in resolveParmVarReference() 1007 ArrayRef<const ParmVarDecl *> ParamVars) { in correctTypoInParmVarReference()
|
/external/clang/test/Misc/ |
D | ast-dump-decl.m | 32 // 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/ |
D | SemaTemplateInstantiate.cpp | 291 Sema &SemaRef, SourceLocation PointOfInstantiation, ParmVarDecl *Param, in InstantiatingTemplate() 496 ParmVarDecl *Param = cast<ParmVarDecl>(Active->Entity); in PrintInstantiationStack() 670 void ExpandingFunctionParameterPack(ParmVarDecl *Pack) { in ExpandingFunctionParameterPack() 782 ExprResult RebuildParmVarDeclRefExpr(ParmVarDecl *PD, SourceLocation Loc); 786 ParmVarDecl *PD); 806 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 1205 TemplateInstantiator::RebuildParmVarDeclRefExpr(ParmVarDecl *PD, in RebuildParmVarDeclRefExpr() 1215 ParmVarDecl *D = E->getExpansion(getSema().ArgumentPackSubstitutionIndex); in TransformFunctionParmPackExpr() 1219 return RebuildParmVarDeclRefExpr(cast<ParmVarDecl>(VD), E->getExprLoc()); in TransformFunctionParmPackExpr() 1228 SmallVector<ParmVarDecl *, 8> Parms; in TransformFunctionParmPackExpr() [all …]
|
D | SemaLambda.cpp | 295 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(ManglingContextDecl)) { in getCurrentMangleNumberContext() 318 !(ManglingContextDecl && isa<ParmVarDecl>(ManglingContextDecl))) || in getCurrentMangleNumberContext() 358 ArrayRef<ParmVarDecl *> Params, in startLambdaDefinition() 479 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters() 825 SmallVector<ParmVarDecl *, 8> Params; in ActOnStartOfLambdaDefinition() 870 Params.push_back(cast<ParmVarDecl>(FTI.Params[i].Param)); in ActOnStartOfLambdaDefinition() 1154 std::mem_fn(&ParmVarDecl::hasAttr<PassObjectSizeAttr>))) in addFunctionPointerConversion() 1239 SmallVector<ParmVarDecl *, 4> InvokerParams; in addFunctionPointerConversion() 1241 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() 1243 InvokerParams.push_back(ParmVarDecl::Create(S.Context, in addFunctionPointerConversion() [all …]
|
D | SemaExprObjC.cpp | 294 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method, in getNSNumberFactoryMethod() 349 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() 547 ParmVarDecl *value = in BuildObjCBoxedExpr() 548 ParmVarDecl::Create(Context, M, in BuildObjCBoxedExpr() 660 SmallVector<ParmVarDecl *, 2> Params; in BuildObjCBoxedExpr() 662 ParmVarDecl *bytes = in BuildObjCBoxedExpr() 663 ParmVarDecl::Create(Context, M, in BuildObjCBoxedExpr() 672 ParmVarDecl *type = in BuildObjCBoxedExpr() 673 ParmVarDecl::Create(Context, M, in BuildObjCBoxedExpr() 717 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() [all …]
|
D | SemaTemplateVariadic.cpp | 144 if ((D && isa<ParmVarDecl>(D)) || InLambda) in TraverseDecl() 563 if (isa<ParmVarDecl>(ND)) in CheckParameterPacksForExpansion() 664 if (isa<ParmVarDecl>(ND)) { in getNumArgumentsInExpansion() 768 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 177 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once() 187 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once() 254 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync() 296 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() 299 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap() 304 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CallEvent.h | 384 typedef std::const_mem_fun_t<QualType, ParmVarDecl> get_type_fun; 392 virtual ArrayRef<ParmVarDecl*> parameters() const = 0; 394 typedef llvm::mapped_iterator<ArrayRef<ParmVarDecl*>::iterator, get_type_fun> 404 get_type_fun(&ParmVarDecl::getType)); in param_type_begin() 409 get_type_fun(&ParmVarDecl::getType)); in param_type_end() 457 ArrayRef<ParmVarDecl *> parameters() const override; 599 ArrayRef<ParmVarDecl*> parameters() const override; 976 ArrayRef<ParmVarDecl*> parameters() const override;
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 293 for (ParmVarDecl *Parameter : D->parameters()) { in PrintDeclContext() 322 for (ParmVarDecl *Parameter : D->parameters()) { in PrintDeclContext() 443 ParmVarDecl* PVD = cast<ParmVarDecl>(I); in PrintDeclContext()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 77 const ParmVarDecl *ParamDecl) const; 94 const ParmVarDecl *ParamDecl, const char *BD) const; 144 const ParmVarDecl *ParamDecl, in uninitRefOrPointer() 195 const ParmVarDecl *ParamDecl in PreVisitProcessArg() 429 const ParmVarDecl *ParamDecl = nullptr; in checkPreCall()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 80 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/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 317 ArrayRef<ParmVarDecl*> parameters) { in addParameterValuesToBindings() 324 ArrayRef<ParmVarDecl*>::iterator I = parameters.begin(), E = parameters.end(); in addParameterValuesToBindings() 326 const ParmVarDecl *ParamDecl = *I; in addParameterValuesToBindings() 339 ArrayRef<ParmVarDecl*> AnyFunctionCall::parameters() const { in parameters() 595 ArrayRef<ParmVarDecl*> BlockCall::parameters() const { in parameters() 612 ArrayRef<ParmVarDecl*> Params; in getInitialStackFrameContents() 674 ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const { in parameters()
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 51 bool traverseParamVarHelper(ParmVarDecl *D) { in traverseParamVarHelper() 58 bool TraverseParmVarDecl(ParmVarDecl *D) { in TraverseParmVarDecl()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 181 typedef SmallVector<ParmVarDecl *, 4> DeclArgumentPack; 335 void InstantiatedLocalPackArg(const Decl *D, ParmVarDecl *Inst); 489 SmallVectorImpl<ParmVarDecl *> &Params);
|
/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | SValExplainer.h | 95 if (auto D = dyn_cast<ParmVarDecl>(V->getDecl())) in VisitSymbolRegionValue() 177 if (isa<ParmVarDecl>(VD)) in VisitVarRegion()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestDeclVisitor.cpp | 39 bool VisitParmVarDecl(ParmVarDecl *ParamVar) { in VisitParmVarDecl()
|