Lines Matching refs:FD
106 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) {
107 slangAssert(!FD->getName().empty() && "Function name should not be empty");
109 if (!FD->isThisDeclarationADefinition()) {
113 if (FD->getStorageClass() != clang::SC_None) {
115 "static function '%s'\n", FD->getName().str().c_str());
119 if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) {
120 RSExportForEach *EFE = RSExportForEach::Create(this, FD);
126 } else if (RSExportForEach::isSpecialRSFunc(FD)) {
129 getDiagnostics(), FD)) {
135 RSExportFunc *EF = RSExportFunc::Create(this, FD);
211 clang::FunctionDecl *FD = (clang::FunctionDecl*) (*DI);
212 if (FD->getLinkage() == clang::ExternalLinkage) {
213 if (!processExportFunc(FD)) {