Home | History | Annotate | Download | only in Sema

Lines Matching refs:FirstDecl

247           if (NamedDecl *FirstDecl = Correction.getCorrectionDecl())
248 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
668 NamedDecl *FirstDecl = Corrected.getCorrectionDecl();
670 = FirstDecl? FirstDecl->getUnderlyingDecl() : 0;
705 if (FirstDecl) {
706 Result.addDecl(FirstDecl);
707 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
823 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl();
824 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
832 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl);
836 = dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl))
855 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl))
857 TemplateName(cast<TemplateDecl>(FirstDecl)));
864 (NextIsOp && FirstDecl->isFunctionOrFunctionTemplate())) &&
875 if (FirstDecl->isCXXClassMember())