Home | History | Annotate | Download | only in Serialization

Lines Matching defs:Existing

153     /// \brief Class used to capture the result of searching for an existing
161 NamedDecl *Existing;
168 : Reader(Reader), New(0), Existing(0), AddResult(false) { }
170 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing)
171 : Reader(Reader), New(New), Existing(Existing), AddResult(true) { }
174 : Reader(Other.Reader), New(Other.New), Existing(Other.Existing),
186 operator NamedDecl*() const { return Existing; }
189 operator T*() const { return dyn_cast_or_null<T>(Existing); }
1552 if (T *Existing = ExistingRes) {
1553 T *ExistingCanon = Existing->getCanonicalDecl();
1557 // of the existing declaration, so that this declaration has the
1754 if (!AddResult || Existing)
1769 FindExistingResult Result(Reader, D, /*Existing=*/0);
1796 return FindExistingResult(Reader, D, /*Existing=*/0);
2341 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()];
2342 if (Existing &&
2343 Reader.getOwningModuleFile(Existing)
2358 Reader.Diag(Existing->getLocation(), diag::note_previous_definition);
2359 } else if (!Existing) {
2361 Existing = Cat;