Home | History | Annotate | Download | only in Serialization

Lines Matching refs:Existing

148     /// \brief Class used to capture the result of searching for an existing
156 NamedDecl *Existing;
163 : Reader(Reader), New(0), Existing(0), AddResult(false) { }
165 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing)
166 : Reader(Reader), New(New), Existing(Existing), AddResult(true) { }
169 : Reader(Other.Reader), New(Other.New), Existing(Other.Existing),
181 operator NamedDecl*() const { return Existing; }
184 operator T*() const { return dyn_cast_or_null<T>(Existing); }
1769 if (T *Existing = ExistingRes) {
1770 T *ExistingCanon = Existing->getCanonicalDecl();
1774 // of the existing declaration, so that this declaration has the
2042 if (!AddResult || Existing)
2060 FindExistingResult Result(Reader, D, /*Existing=*/0);
2109 return FindExistingResult(Reader, D, /*Existing=*/0);
2688 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()];
2689 if (Existing &&
2690 Reader.getOwningModuleFile(Existing)
2705 Reader.Diag(Existing->getLocation(), diag::note_previous_definition);
2706 } else if (!Existing) {
2708 Existing = Cat;