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()832 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()845 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()871 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()888 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()891 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()900 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()[all …]
221 CurrentDecl = CommentDecl; in fill()
679 const Decl *CurrentDecl, in ComputeName() argument681 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()684 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()710 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()714 auto DC = CurrentDecl->getDeclContext(); in ComputeName()727 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()910 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()920 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()941 if (isa<TranslationUnitDecl>(CurrentDecl) && in ComputeName()
580 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()587 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()901 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
975 const Decl *CurrentDecl;
2053 const Decl *CurrentDecl,
1992 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local1993 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()1994 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()2004 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()2022 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()