Searched refs:CurrentDecl (Results 1 – 6 of 6) sorted by relevance
811 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()812 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()824 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()825 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()834 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()847 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()873 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()890 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()893 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()902 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()[all …]
221 CurrentDecl = CommentDecl; in fill()
673 const Decl *CurrentDecl, in ComputeName() argument675 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()678 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()704 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()708 auto DC = CurrentDecl->getDeclContext(); in ComputeName()721 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()907 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()917 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()938 if (isa<TranslationUnitDecl>(CurrentDecl) && in ComputeName()
579 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()586 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()900 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
2101 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local2102 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()2103 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()2113 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()2131 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
2065 const Decl *CurrentDecl,