Home | History | Annotate | Download | only in Sema

Lines Matching refs:Existing

195       // Add the new declaration before the existing declaration.
201 // Add new declaration after the existing declaration.
293 /// existing declaration.
294 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) {
296 if (Existing == New)
300 if (Existing->getKind() != New->getKind())
304 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
306 Decl *MostRecent = Existing->getMostRecentDecl();
307 if (Existing == MostRecent)
313 // If the existing declaration is somewhere in the previous declaration
318 if (*RD == Existing)
362 // If the existing declaration is not visible in translation unit scope,
376 // See whether this declaration is identical to any existing declarations.