Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentSema.cpp830 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
831 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
835 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()
838 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
841 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
844 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
847 dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionOrMethodVariadic()
858 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
859 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
868 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
[all …]
H A DComment.cpp221 CurrentDecl = CommentDecl; in fill()
H A DExpr.cpp566 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument
567 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
570 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
596 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()
600 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
613 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
760 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
770 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
791 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) { in ComputeName()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DComment.h993 const Decl *CurrentDecl; member
H A DExpr.h2021 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);