Lines Matching refs:FD
88 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) {
89 slangAssert(!FD->getName().empty() && "Function name should not be empty");
91 if (!FD->isThisDeclarationADefinition()) {
95 if (FD->getStorageClass() != clang::SC_None) {
97 "static function '%s'\n", FD->getName().str().c_str());
101 if (RSExportForEach::isSpecialRSFunc(mTargetAPI, FD)) {
103 return RSExportForEach::validateSpecialFuncDecl(mTargetAPI, this, FD);
104 } else if (RSExportForEach::isRSForEachFunc(mTargetAPI, this, FD)) {
105 RSExportForEach *EFE = RSExportForEach::Create(this, FD);
113 RSExportFunc *EF = RSExportFunc::Create(this, FD);
225 clang::FunctionDecl *FD = (clang::FunctionDecl*) (*DI);
226 if (FD->getFormalLinkage() == clang::ExternalLinkage) {
227 if (!processExportFunc(FD)) {