Home
last modified time | relevance | path

Searched refs:CurrentDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp809 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()
888 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
900 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
903 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()
926 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
935 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
944 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
[all …]
H A DComment.cpp221 CurrentDecl = CommentDecl; in fill()
H A DExpr.cpp669 const Decl *CurrentDecl) { in ComputeName() argument
670 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
673 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
699 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()
703 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
716 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
880 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
890 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
911 if (isa<TranslationUnitDecl>(CurrentDecl) && in ComputeName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp578 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
585 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
888 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h975 const Decl *CurrentDecl;
H A DExpr.h2025 const Decl *CurrentDecl);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2007 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local
2008 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()
2009 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()
2019 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
2037 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()