reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
39 ThisDeclInfo = new (Allocator) DeclInfo; 40 ThisDeclInfo->CommentDecl = D; 41 ThisDeclInfo->IsFilled = false; 71 if (ThisDeclInfo) { 317 ThisDeclInfo->TemplateParameters; 545 FullComment *FC = new (Allocator) FullComment(Blocks, ThisDeclInfo); 584 assert(ThisDeclInfo && "should not call this check on a bare comment"); 591 assert(!ThisDeclInfo->ReturnType.isNull() && 593 if (ThisDeclInfo->ReturnType->isVoidType()) { 595 switch (ThisDeclInfo->CommentDecl->getKind()) { 597 if (ThisDeclInfo->IsObjCMethod) 668 assert(ThisDeclInfo && "should not call this check on a bare comment"); 670 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); 816 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) 819 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) 822 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) 825 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) 828 dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) { 839 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && 840 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); 844 if (!ThisDeclInfo) 846 if (!ThisDeclInfo->IsFilled) 848 if (ThisDeclInfo->getKind() == DeclInfo::VariableKind) { 849 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { 858 if (!ThisDeclInfo) 860 if (!ThisDeclInfo->IsFilled) 862 if (ThisDeclInfo->getKind() != DeclInfo::VariableKind || 863 !ThisDeclInfo->CurrentDecl) 866 if (const auto *VD = dyn_cast<DeclaratorDecl>(ThisDeclInfo->CurrentDecl)) 869 dyn_cast<ObjCPropertyDecl>(ThisDeclInfo->CurrentDecl)) 888 if (!ThisDeclInfo) 890 if (!ThisDeclInfo->IsFilled) 892 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; 896 if (!ThisDeclInfo) 898 if (!ThisDeclInfo->IsFilled) 900 return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate; 904 if (!ThisDeclInfo) 906 if (!ThisDeclInfo->IsFilled) 913 if (!ThisDeclInfo) 915 if (!ThisDeclInfo->IsFilled) 918 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) 924 if (!ThisDeclInfo) 926 if (!ThisDeclInfo->IsFilled) 928 return ThisDeclInfo->CurrentDecl && 929 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) && 934 if (!ThisDeclInfo) 936 if (!ThisDeclInfo->IsFilled) 938 return ThisDeclInfo->CurrentDecl && 939 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); 943 if (!ThisDeclInfo) 945 if (!ThisDeclInfo->IsFilled) 947 return ThisDeclInfo->CurrentDecl && 948 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); 952 if (!ThisDeclInfo) 954 if (!ThisDeclInfo->IsFilled) 956 return ThisDeclInfo->CurrentDecl && 957 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); 961 if (!ThisDeclInfo) 963 if (!ThisDeclInfo->IsFilled) 965 return ThisDeclInfo->CurrentDecl && 966 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); 970 if (!ThisDeclInfo->IsFilled) 972 return ThisDeclInfo->ParamVars; 976 ThisDeclInfo->fill();