Home
last modified time | relevance | path

Searched refs:OldConcept (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp9001 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition() local
9002 if (!OldConcept) { in CheckConceptRedefinition()
9011 bool IsSame = Context.isSameEntity(NewDecl, OldConcept); in CheckConceptRedefinition()
9015 notePreviousDefinition(OldConcept, NewDecl->getLocation()); in CheckConceptRedefinition()
9019 if (hasReachableDefinition(OldConcept) && in CheckConceptRedefinition()
9020 IsRedefinitionInModule(NewDecl, OldConcept)) { in CheckConceptRedefinition()
9023 notePreviousDefinition(OldConcept, NewDecl->getLocation()); in CheckConceptRedefinition()
9033 Context.setPrimaryMergedDecl(NewDecl, OldConcept->getCanonicalDecl()); in CheckConceptRedefinition()