Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DCommentSema.cpp792 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
793 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
797 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
798 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
809 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
822 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
848 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
858 return ThisDeclInfo->CurrentDecl && in isClassOrStructDecl()
859 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) && in isClassOrStructDecl()
868 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
[all …]
DComment.cpp145 CurrentDecl = CommentDecl; in fill()
DExpr.cpp462 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { in ComputeName() argument
463 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
465 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
580 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
602 if (isa<TranslationUnitDecl>(CurrentDecl) && IT == PrettyFunction) { in ComputeName()
/external/clang/tools/libclang/
DCXComment.cpp917 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
923 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
947 ASTContext &Context = DI->CurrentDecl->getASTContext(); in formatTextOfDeclaration()
1208 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
1425 ASTContext &Context = FC->getDeclInfo()->CurrentDecl->getASTContext(); in clang_FullComment_getAsXML()
/external/clang/include/clang/AST/
DComment.h964 const Decl *CurrentDecl; member
DExpr.h1169 static std::string ComputeName(IdentType IT, const Decl *CurrentDecl);