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()815 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()839 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()862 !ThisDeclInfo->CurrentDecl) in isFunctionOrBlockPointerVarLikeDecl()921 return ThisDeclInfo->CurrentDecl && in isClassOrStructDecl()922 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) && in isClassOrStructDecl()931 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()940 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()949 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()[all …]
537 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument538 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()541 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()563 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()567 auto DC = CurrentDecl->getDeclContext(); in ComputeName()580 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()725 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()735 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()756 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) { in ComputeName()
207 CurrentDecl = CommentDecl; in fill()
576 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()583 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()882 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
994 const Decl *CurrentDecl; member
1826 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);