Home | History | Annotate | Download | only in AST

Lines Matching refs:ThisDeclInfo

32     PP(PP), ThisDeclInfo(NULL), BriefCommand(NULL), HeaderfileCommand(NULL) {
39 ThisDeclInfo = new (Allocator) DeclInfo;
40 ThisDeclInfo->CommentDecl = D;
41 ThisDeclInfo->IsFilled = false;
329 ThisDeclInfo->TemplateParameters;
554 FullComment *FC = new (Allocator) FullComment(Blocks, ThisDeclInfo);
581 if (ThisDeclInfo->ResultType->isVoidType()) {
583 switch (ThisDeclInfo->CommentDecl->getKind()) {
585 if (ThisDeclInfo->IsObjCMethod)
658 const Decl *D = ThisDeclInfo->CommentDecl;
792 if (!ThisDeclInfo)
794 if (!ThisDeclInfo->IsFilled)
796 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind;
800 return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
801 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl);
808 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl))
811 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl))
817 return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
818 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl);
822 if (!ThisDeclInfo)
824 if (!ThisDeclInfo->IsFilled)
826 if (ThisDeclInfo->getKind() == DeclInfo::VariableKind) {
827 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) {
836 if (!ThisDeclInfo)
838 if (!ThisDeclInfo->IsFilled)
840 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty;
844 if (!ThisDeclInfo)
846 if (!ThisDeclInfo->IsFilled)
848 return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate;
852 if (!ThisDeclInfo)
854 if (!ThisDeclInfo->IsFilled)
861 if (!ThisDeclInfo)
863 if (!ThisDeclInfo->IsFilled)
866 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl))
872 if (!ThisDeclInfo)
874 if (!ThisDeclInfo->IsFilled)
876 return ThisDeclInfo->CurrentDecl &&
877 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) &&
882 if (!ThisDeclInfo)
884 if (!ThisDeclInfo->IsFilled)
886 return ThisDeclInfo->CurrentDecl &&
887 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl));
891 if (!ThisDeclInfo)
893 if (!ThisDeclInfo->IsFilled)
895 return ThisDeclInfo->CurrentDecl &&
896 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl));
900 if (!ThisDeclInfo)
902 if (!ThisDeclInfo->IsFilled)
904 return ThisDeclInfo->CurrentDecl &&
905 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl);
909 if (!ThisDeclInfo)
911 if (!ThisDeclInfo->IsFilled)
913 return ThisDeclInfo->CurrentDecl &&
914 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl);
918 if (!ThisDeclInfo->IsFilled)
920 return ThisDeclInfo->ParamVars;
924 ThisDeclInfo->fill();