Home | History | Annotate | Download | only in AST

Lines Matching defs:FD

86   void mangleFunctionEncoding(const FunctionDecl *FD);
112 void mangleLocalName(const FunctionDecl *FD);
129 void mangleFunctionClass(const FunctionDecl *FD);
201 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
202 if (FD && (FD->hasAttr<OverloadableAttr>() || isa<CXXMethodDecl>(FD) ||
203 !FD->getDeclName().isIdentifier()))
211 if (!FD) {
218 if ((FD && FD->isMain()) || isInCLinkageSpecification(D))
243 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
244 mangleFunctionEncoding(FD);
258 void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD) {
264 FD = FD->getFirstDeclaration();
267 if (!Context.shouldMangleDeclName(FD))
272 TypeSourceInfo *TSI = FD->getTypeSourceInfo();
273 QualType T = TSI ? TSI->getType() : FD->getType();
277 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
286 mangleFunctionClass(FD);
288 mangleFunctionType(FT, FD, InStructor, InInstMethod);
400 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)){
401 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) {
402 TemplateArgs = FD->getTemplateSpecializationArgs();
774 static unsigned getLocalNestingLevel(const FunctionDecl *FD) {
775 const DeclContext *DC = FD->getParent();
786 void MicrosoftCXXNameMangler::mangleLocalName(const FunctionDecl *FD) {
802 int NestLevel = getLocalNestingLevel(FD);
806 mangle(FD, "?");
1291 void MicrosoftCXXNameMangler::mangleFunctionClass(const FunctionDecl *FD) {
1322 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {