Home
last modified time | relevance | path

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

/openbsd-src/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()
833 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
846 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
872 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
889 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
892 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()
901 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
[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-src/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-src/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);