Searched refs:CurrentDecl (Results 1 – 6 of 6) sorted by relevance
810 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()811 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()823 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()824 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()833 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()846 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()872 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()889 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()892 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()901 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()[all …]
217 CurrentDecl = CommentDecl; in fill()
724 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument725 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()728 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()754 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()758 auto DC = CurrentDecl->getDeclContext(); in ComputeName()771 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()917 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()927 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()948 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()
976 const Decl *CurrentDecl; member
2042 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);