Lines Matching defs:FD
38 void RSCheckAST::ValidateFunctionDecl(clang::FunctionDecl *FD) {
39 if (!FD) {
45 if (clang::Stmt *Body = FD->getBody()) {
51 size_t numParams = FD->getNumParams();
53 clang::QualType resultType = FD->getResultType().getCanonicalType();
55 // We use FD as our NamedDecl in the case of a bad return type.
56 if (!RSExportType::ValidateType(C, resultType, FD,
57 FD->getLocStart(), mTargetAPI,
63 clang::ParmVarDecl *PVD = FD->getParamDecl(i);
71 if (clang::Stmt *Body = FD->getBody()) {
108 } else if (clang::FunctionDecl *FD =
110 ValidateFunctionDecl(FD);
145 } else if (clang::FunctionDecl *FD =
147 ValidateFunctionDecl(FD);