Lines Matching defs:FD
104 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) {
105 slangAssert(!FD->getName().empty() && "Function name should not be empty");
107 if (!FD->isThisDeclarationADefinition()) {
111 if (FD->getStorageClass() != clang::SC_None) {
113 "static function '%s'\n", FD->getName().str().c_str());
117 if (RSExportForEach::isSpecialRSFunc(mTargetAPI, FD)) {
120 getDiagnostics(), FD);
121 } else if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) {
122 RSExportForEach *EFE = RSExportForEach::Create(this, FD);
130 RSExportFunc *EF = RSExportFunc::Create(this, FD);
242 clang::FunctionDecl *FD = (clang::FunctionDecl*) (*DI);
243 if (FD->getLinkage() == clang::ExternalLinkage) {
244 if (!processExportFunc(FD)) {