Searched refs:CurrentDecl (Results 1 – 6 of 6) sorted by relevance
830 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()831 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()835 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()838 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()841 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()844 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()847 dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionOrMethodVariadic()858 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()859 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()868 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()[all …]
221 CurrentDecl = CommentDecl; in fill()
566 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument567 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()570 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()596 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()600 auto DC = CurrentDecl->getDeclContext(); in ComputeName()613 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()760 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()770 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()791 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) { 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()
993 const Decl *CurrentDecl; member
2021 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);