reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
14907       DC = Previous.getRepresentativeDecl()->getDeclContext();
14911       DC = FunctionContainingLocalClass;
14913     adjustContextForLocalExternDecl(DC);
14937     DC = CurContext;
14946     while (DC->isRecord())
14947       DC = DC->getParent();
14947       DC = DC->getParent();
14949     DeclContext *LookupDC = DC;
14957         DC = LookupDC;
14969     DCScope = getScopeForDeclContext(S, DC);
14975     DC = computeDeclContext(SS);
14976     if (!DC) return nullptr;
14978     if (RequireCompleteDeclContext(SS, DC)) return nullptr;
14980     LookupQualifiedName(Previous, DC);
14984     if (DC->Equals(CurContext))
15003       if (DC->isFileContext())
15023     DC = CurContext;
15024     assert(isa<CXXRecordDecl>(DC) && "friend declaration not in class?");
15027   if (!DC->isRecord()) {
15062     FakeDCScope.setEntity(DC);
15067   NamedDecl *ND = ActOnFunctionDeclarator(DCScope, D, DC, TInfo, Previous,
15075   DC = ND->getDeclContext();
15084     DC = DC->getRedeclContext();
15084     DC = DC->getRedeclContext();
15085     DC->makeDeclVisibleInContext(ND);
15086     if (Scope *EnclosingScope = getScopeForDeclContext(S, DC))
15099     if (DC->isRecord()) CheckFriendAccess(ND);