Home | History | Annotate | Download | only in Sema

Lines Matching refs:Existing

180       // Add the new declaration before the existing declaration.
186 // Add new declaration after the existing declaration.
254 /// existing declaration.
255 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) {
257 if (Existing == New)
261 if (Existing->getKind() != New->getKind())
265 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
267 Decl *MostRecent = Existing->getMostRecentDecl();
268 if (Existing == MostRecent)
274 // If the existing declaration is somewhere in the previous declaration
277 if (RD == Existing)
321 // If the existing declaration is not visible in translation unit scope,
335 // See whether this declaration is identical to any existing declarations.