Home
last modified time | relevance | path

Searched refs:PVD (Results 1 – 5 of 5) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp96 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in validateAndConstructOldStyleParams() local
97 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructOldStyleParams()
100 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
104 << FD->getName() << PVD->getName() << PVD->getType().getAsString(); in validateAndConstructOldStyleParams()
112 mOut = PVD; in validateAndConstructOldStyleParams()
114 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
118 << FD->getName() << mOut->getName() << PVD->getName(); in validateAndConstructOldStyleParams()
123 mIns.push_back(PVD); in validateAndConstructOldStyleParams()
125 mUsrData = PVD; in validateAndConstructOldStyleParams()
128 PVD->getLocation(), in validateAndConstructOldStyleParams()
[all …]
Dslang_rs_export_func.cpp79 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in Create() local
80 llvm::StringRef ParamName = PVD->getName(); in Create()
82 if (PVD->hasDefaultArg()) in Create()
93 PVD->getIdentifier(), in Create()
94 PVD->getOriginalType(), in Create()
Dslang_rs_check_ast.cpp165 clang::ParmVarDecl *PVD = FD->getParamDecl(i); in ValidateFunctionDecl() local
166 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl()
167 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl()
Dslang_rs_backend.cpp111 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in HandleTopLevelDecl() local
112 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl()
115 PVD->getTypeSpecStartLoc(), in HandleTopLevelDecl()
Dslang_rs_object_ref_count.cpp72 const clang::ParmVarDecl *PVD = FD->getParamDecl(0); in GetRSRefCountingFunctions() local
73 clang::QualType PVT = PVD->getOriginalType(); in GetRSRefCountingFunctions()