Lines Matching defs:DI
566 void formatTextOfDeclaration(const DeclInfo *DI,
594 const DeclInfo *DI, SmallString<128> &Declaration) {
826 const DeclInfo *DI = C->getDeclInfo();
828 if (DI) {
829 switch (DI->getKind()) {
837 switch (DI->TemplateKind) {
850 if (DI->IsInstanceMethod)
852 if (DI->IsClassMethod)
858 switch (DI->TemplateKind) {
892 SourceLocation Loc = DI->CurrentDecl->getLocation();
913 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DI->CommentDecl)) {
928 generateUSRForDecl(DI->CommentDecl, USR);
951 getSourceTextOfDeclaration(DI, Declaration);
952 formatTextOfDeclaration(DI, Declaration);
997 if (DI->CommentDecl->hasAttrs()) {
998 const AttrVec &Attrs = DI->CommentDecl->getAttrs();