Searched refs:PVD (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 445 ParmVarDecl* PVD = cast<ParmVarDecl>(I); in PrintDeclContext() local 446 Out << "<parameter> " << *PVD << '\n'; in PrintDeclContext()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1788 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD, in getNonNullAttr() argument 1800 if (PVD) { in getNonNullAttr() 1801 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>()) in getNonNullAttr() 1951 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) { in EmitFunctionProlog() local 1952 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog() 1953 PVD->getFunctionScopeIndex())) in EmitFunctionProlog() 1958 QualType OTy = PVD->getOriginalType(); in EmitFunctionProlog() 1993 const auto *AVAttr = PVD->getAttr<AlignValueAttr>(); in EmitFunctionProlog() 2811 auto PVD = ParmNum < FD->getNumParams() ? FD->getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() local 2812 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck() [all …]
|
D | CodeGenFunction.cpp | 842 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) in StartFunction() local 843 Ty = PVD->getOriginalType(); in StartFunction()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2270 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in BuildCXXForRangeStmt() local 2271 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt() 2272 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() 2275 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt() 2276 Diag(PVD->getLocation(), diag::note_declared_at); in BuildCXXForRangeStmt()
|
D | SemaExpr.cpp | 3595 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() local 3596 QualType OType = PVD->getOriginalType(); in CheckUnaryExprOrTypeTraitOperand() 3597 QualType Type = PVD->getType(); in CheckUnaryExprOrTypeTraitOperand() 3601 Diag(PVD->getLocation(), diag::note_declared_at); in CheckUnaryExprOrTypeTraitOperand() 4654 static void DiagnoseCalleeStaticArrayParam(Sema &S, ParmVarDecl *PVD) { in DiagnoseCalleeStaticArrayParam() argument 4655 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam() 4659 S.Diag(PVD->getLocation(), diag::note_callee_static_array) in DiagnoseCalleeStaticArrayParam() 13105 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local 13106 QTy = PVD->getOriginalType(); in tryCaptureVariable()
|
D | SemaChecking.cpp | 1317 const ParmVarDecl *PVD = *I; in CheckNonNullArguments() local 1318 if (PVD->hasAttr<NonNullAttr>() || in CheckNonNullArguments() 1319 isNonNullType(S.Context, PVD->getType())) { in CheckNonNullArguments()
|
D | SemaDeclAttr.cpp | 5105 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(D)) in ProcessDeclAttribute() local 5106 handleNonNullAttrParameter(S, PVD, Attr); in ProcessDeclAttribute()
|
D | SemaDeclCXX.cpp | 422 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); in functionDeclHasDefaultArgument() local 423 if (!PVD->hasDefaultArg()) in functionDeclHasDefaultArgument() 425 if (!PVD->hasInheritedDefaultArg()) in functionDeclHasDefaultArgument()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 4045 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in getBaseOriginalType() local 4046 OriginalTy = PVD->getOriginalType().getNonReferenceType(); in getBaseOriginalType()
|
D | ExprConstant.cpp | 2032 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) { in evaluateVarDeclInit() local 2041 Result = &Frame->Arguments[PVD->getFunctionScopeIndex()]; in evaluateVarDeclInit()
|