Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DCommentSema.cpp811 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
812 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
819 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
822 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
825 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
831 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
832 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
841 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
854 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
880 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
[all …]
DComment.cpp146 CurrentDecl = CommentDecl; in fill()
DExpr.cpp483 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { in ComputeName() argument
484 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
487 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
509 if (auto *BD = dyn_cast<BlockDecl>(CurrentDecl)) { in ComputeName()
514 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
525 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
664 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
674 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
695 if (isa<TranslationUnitDecl>(CurrentDecl) && IT == PrettyFunction) { in ComputeName()
/external/clang/lib/Index/
DCommentToXML.cpp583 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
589 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
892 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/external/clang/include/clang/AST/
DComment.h999 const Decl *CurrentDecl; member
DExpr.h1241 static std::string ComputeName(IdentType IT, const Decl *CurrentDecl);