Lines Matching defs:VD

170     const clang::VarDecl *VD,
197 const clang::VarDecl *VD,
202 ReportTypeError(Context, VD, TopLevelRecord,
212 ReportTypeError(Context, VD, TopLevelRecord,
218 ReportTypeError(Context, VD, TopLevelRecord,
224 if (TypeExportableHelper(ElementType, SPS, Context, VD,
245 clang::VarDecl const *VD,
268 ReportTypeError(Context, VD, T->getAsUnionType()->getDecl(),
311 if (!TypeExportableHelper(FT, SPS, Context, VD, TopLevelRecord)) {
331 ReportTypeError(Context, VD, TopLevelRecord,
340 ReportTypeError(Context, VD, TopLevelRecord,
347 (TypeExportableHelper(PointeeType, SPS, Context, VD,
364 (TypeExportableHelper(ElementType, SPS, Context, VD,
374 return ConstantArrayTypeExportableHelper(CAT, SPS, Context, VD,
398 const clang::VarDecl *VD) {
402 return TypeExportableHelper(T, SPS, Context, VD, NULL);
406 clang::VarDecl *VD, bool InCompositeType,
412 if (VD->hasLinkage() &&
413 (VD->getFormalLinkage() == clang::ExternalLinkage)) {
415 const clang::Type *T = GetCanonicalType(VD->getType().getTypePtr());
417 ReportTypeError(Context, VD, NULL,
466 clang::VarDecl *VD = (ND ? llvm::dyn_cast<clang::VarDecl>(ND) : NULL);
467 if (VD && !ValidateRSObjectInVarDecl(Context, VD, InCompositeType,
626 const clang::VarDecl *VD) {
627 if ((T = TypeExportable(T, Context, VD)) == NULL) {
633 if (VD) {
634 Context->ReportError(VD->getLocation(),
659 clang::VarDecl *VD, unsigned int TargetAPI,
661 return ValidateType(Context, VD->getASTContext(), VD->getType(), VD,
662 VD->getLocation(), TargetAPI, IsFilterscript);
859 const clang::VarDecl *VD) {
860 return RSExportType::Create(Context, GetTypeOfDecl(VD));