Searched refs:CurrentDecl (Results 1 – 7 of 7) sorted by relevance
809 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()810 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()822 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()823 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()888 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()900 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()903 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()926 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()935 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()944 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()[all …]
221 CurrentDecl = CommentDecl; in fill()
669 const Decl *CurrentDecl) { in ComputeName() argument670 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()673 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()699 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()703 auto DC = CurrentDecl->getDeclContext(); in ComputeName()716 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()880 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()890 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()911 if (isa<TranslationUnitDecl>(CurrentDecl) && in ComputeName()
578 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()585 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()888 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
975 const Decl *CurrentDecl;
2025 const Decl *CurrentDecl);
2007 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local2008 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()2009 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()2019 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()2037 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()