Home | History | Annotate | Download | only in AST

Lines Matching refs:ThisDeclInfo

32     PP(PP), ThisDeclInfo(nullptr), BriefCommand(nullptr),
40 ThisDeclInfo = new (Allocator) DeclInfo;
41 ThisDeclInfo->CommentDecl = D;
42 ThisDeclInfo->IsFilled = false;
72 if (ThisDeclInfo) {
318 ThisDeclInfo->TemplateParameters;
548 FullComment *FC = new (Allocator) FullComment(Blocks, ThisDeclInfo);
587 assert(ThisDeclInfo && "should not call this check on a bare comment");
590 if (ThisDeclInfo->ReturnType->isVoidType()) {
592 switch (ThisDeclInfo->CommentDecl->getKind()) {
594 if (ThisDeclInfo->IsObjCMethod)
667 assert(ThisDeclInfo && "should not call this check on a bare comment");
669 const Decl *D = ThisDeclInfo->CommentDecl;
803 if (!ThisDeclInfo)
805 if (!ThisDeclInfo->IsFilled)
807 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind;
811 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);
836 if (!ThisDeclInfo)
838 if (!ThisDeclInfo->IsFilled)
840 if (ThisDeclInfo->getKind() == DeclInfo::VariableKind) {
841 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) {
850 if (!ThisDeclInfo)
852 if (!ThisDeclInfo->IsFilled)
854 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty;
858 if (!ThisDeclInfo)
860 if (!ThisDeclInfo->IsFilled)
862 return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate;
866 if (!ThisDeclInfo)
868 if (!ThisDeclInfo->IsFilled)
875 if (!ThisDeclInfo)
877 if (!ThisDeclInfo->IsFilled)
880 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl))
886 if (!ThisDeclInfo)
888 if (!ThisDeclInfo->IsFilled)
890 return ThisDeclInfo->CurrentDecl &&
891 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) &&
896 if (!ThisDeclInfo)
898 if (!ThisDeclInfo->IsFilled)
900 return ThisDeclInfo->CurrentDecl &&
901 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl));
905 if (!ThisDeclInfo)
907 if (!ThisDeclInfo->IsFilled)
909 return ThisDeclInfo->CurrentDecl &&
910 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl));
914 if (!ThisDeclInfo)
916 if (!ThisDeclInfo->IsFilled)
918 return ThisDeclInfo->CurrentDecl &&
919 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl);
923 ThisDeclInfo)
925 if (!ThisDeclInfo->IsFilled)
927 return ThisDeclInfo->CurrentDecl &&
928 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl);
932 if (!ThisDeclInfo->IsFilled)
934 return ThisDeclInfo->ParamVars;
938 ThisDeclInfo->fill();