Searched refs:CurrentDecl (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/AST/
H A DCommentSema.cpp811 return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
812 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl);
819 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl))
822 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl))
825 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl))
831 return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
832 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl);
841 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) {
854 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty;
880 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl))
[all...]
H A DComment.cpp146 CurrentDecl = CommentDecl;
H A DExpr.cpp453 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { argument
454 ASTContext &Context = CurrentDecl->getASTContext();
457 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) {
480 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) {
620 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) {
630 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) {
652 if (isa<TranslationUnitDecl>(CurrentDecl) && IT == PrettyFunction) {
/external/clang/include/clang/AST/
H A DComment.h989 /// CurrentDecl is the declaration with which the FullComment is associated.
993 /// \c CurrentDecl too (for example, for a redeclaration or an overrider of
996 /// The information in the DeclInfo corresponds to CurrentDecl.
997 const Decl *CurrentDecl; member in struct:clang::comments::ParamCommandComment::DeclInfo
H A DExpr.h1200 static std::string ComputeName(IdentType IT, const Decl *CurrentDecl);

Completed in 97 milliseconds