Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/AST/
H A DCommentSema.cpp810 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
811 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
823 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
824 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
889 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
901 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
904 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()
927 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
936 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
945 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
[all …]
H A DComment.cpp217 CurrentDecl = CommentDecl; in fill()
H A DExpr.cpp724 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument
725 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
728 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
754 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()
758 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
771 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
917 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
927 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
948 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) { in ComputeName()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DComment.h976 const Decl *CurrentDecl; member
H A DExpr.h2042 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);