• Home
  • Raw
  • Download

Lines Matching refs:Existing

159       NamedDecl *Existing;  member in clang::ASTDeclReader::FindExistingResult
166 : Reader(Reader), New(nullptr), Existing(nullptr), AddResult(false) {} in FindExistingResult()
168 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing) in FindExistingResult() argument
169 : Reader(Reader), New(New), Existing(Existing), AddResult(true) { } in FindExistingResult()
172 : Reader(Other.Reader), New(Other.New), Existing(Other.Existing), in FindExistingResult()
184 operator NamedDecl*() const { return Existing; } in operator NamedDecl*()
187 operator T*() const { return dyn_cast_or_null<T>(Existing); } in operator T*()
311 void mergeRedeclarable(Redeclarable<T> *D, T *Existing,
319 RedeclarableTemplateDecl *Existing,
2017 if (T *Existing = ExistingRes) in mergeRedeclarable() local
2018 mergeRedeclarable(D, Existing, Redecl, TemplatePatternID); in mergeRedeclarable()
2032 RedeclarableTemplateDecl *Existing, in mergeTemplatePattern() argument
2035 auto *ExistingPattern = Existing->getTemplatedDecl(); in mergeTemplatePattern()
2052 void ASTDeclReader::mergeRedeclarable(Redeclarable<T> *DBase, T *Existing, in mergeRedeclarable() argument
2056 T *ExistingCanon = Existing->getCanonicalDecl(); in mergeRedeclarable()
2124 if (T *Existing = ExistingRes) in mergeMergeable() local
2126 Existing->getCanonicalDecl()); in mergeMergeable()
2387 if (!AddResult || Existing) in ~FindExistingResult()
3049 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add() local
3050 if (Existing && in add()
3051 Reader.getOwningModuleFile(Existing) in add()
3066 Reader.Diag(Existing->getLocation(), diag::note_previous_definition); in add()
3067 } else if (!Existing) { in add()
3069 Existing = Cat; in add()