Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCommentSema.cpp810 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 …]
H A DExpr.cpp537 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument
538 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()
H A DComment.cpp207 CurrentDecl = CommentDecl; in fill()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCommentToXML.cpp576 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
583 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
882 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h994 const Decl *CurrentDecl; member
H A DExpr.h1826 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);