Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp811 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 …]
H A DComment.cpp221 CurrentDecl = CommentDecl; in fill()
H A DExpr.cpp673 const Decl *CurrentDecl, in ComputeName() argument
675 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()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp579 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
586 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
900 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2101 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local
2102 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()
2103 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()
2113 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
2131 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2065 const Decl *CurrentDecl,