Home | History | Annotate | Download | only in slang

Lines Matching refs:FD

28                                          const clang::FunctionDecl *FD) {
29 if (FD->hasAttr<clang::RenderScriptKernelAttr>()) {
33 if (!FD->getName().equals("root")) {
37 if (FD->getNumParams() == 0) {
43 if ((targetAPI < SLANG_ICS_TARGET_API) && (FD->getNumParams() == 1)) {
44 const clang::QualType &IntType = FD->getASTContext().IntTy;
45 if (FD->getReturnType().getCanonicalType() == IntType) {
56 clang::FunctionDecl const *FD) {
57 slangAssert(Context && FD);
59 const clang::ASTContext &C = FD->getASTContext();
60 const clang::QualType &IntType = FD->getASTContext().IntTy;
62 if (isGraphicsRootRSFunc(targetAPI, FD)) {
63 if ((targetAPI < SLANG_ICS_TARGET_API) && (FD->getNumParams() == 1)) {
65 const clang::ParmVarDecl *PVD = FD->getParamDecl(0);
77 if (FD->getReturnType().getCanonicalType() != IntType) {
78 Context->ReportError(FD->getLocation(),
83 } else if (isInitRSFunc(FD) || isDtorRSFunc(FD)) {
84 if (FD->getNumParams() != 0) {
85 Context->ReportError(FD->getLocation(),
88 << FD->getName();
92 if (FD->getReturnType().getCanonicalType() != C.VoidTy) {
93 Context->ReportError(FD->getLocation(),
96 << FD->getName();