Lines Matching refs:FD
36 const clang::FunctionDecl *FD) {
37 slangAssert(Context && FD);
38 const clang::ASTContext &C = FD->getASTContext();
39 if (FD->getReturnType().getCanonicalType() != C.VoidTy) {
41 FD->getLocation(),
51 const clang::FunctionDecl *FD) {
52 llvm::StringRef Name = FD->getName();
57 if (!ValidateFuncDecl(Context, FD)) {
61 F = new RSExportFunc(Context, Name, FD);
64 if (FD->getNumParams() <= 0) {
78 for (unsigned i = 0; i < FD->getNumParams(); i++) {
79 const clang::ParmVarDecl *PVD = FD->getParamDecl(i);
88 clang::FieldDecl *FD =
99 RD->addDecl(FD);