Home | History | Annotate | Download | only in Sema

Lines Matching full:existing

183       // Add the new declaration before the existing declaration.
189 // Add new declaration after the existing declaration.
257 /// existing declaration.
258 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) {
260 if (Existing == New)
264 if (Existing->getKind() != New->getKind())
268 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
271 if (Existing->isFromASTFile() && New->isFromASTFile())
275 Decl *MostRecent = Existing->getMostRecentDecl();
276 if (Existing == MostRecent)
282 // If the existing declaration is somewhere in the previous declaration
285 if (RD == Existing)
329 // If the existing declaration is not visible in translation unit scope,
343 // See whether this declaration is identical to any existing declarations.