Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DCommentSema.cpp809 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
810 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
817 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
820 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
823 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
829 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
830 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
839 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
852 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
878 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
[all …]
DExpr.cpp472 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { in ComputeName() argument
473 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
476 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
498 if (auto *BD = dyn_cast<BlockDecl>(CurrentDecl)) { in ComputeName()
503 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
514 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
653 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
663 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
684 if (isa<TranslationUnitDecl>(CurrentDecl) && IT == PrettyFunction) { in ComputeName()
DComment.cpp146 CurrentDecl = CommentDecl; in fill()
/external/clang/lib/Index/
DCommentToXML.cpp583 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
589 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
891 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/external/clang/include/clang/AST/
DComment.h999 const Decl *CurrentDecl; member
DExpr.h1198 static std::string ComputeName(IdentType IT, const Decl *CurrentDecl);