Lines Matching refs:SemanticContext

864   DeclContext *SemanticContext;  in CheckClassTemplate()  local
870 SemanticContext = computeDeclContext(SS, true); in CheckClassTemplate()
871 if (!SemanticContext) { in CheckClassTemplate()
882 if (RequireCompleteDeclContext(SS, SemanticContext)) in CheckClassTemplate()
888 if (SemanticContext->isDependentContext()) { in CheckClassTemplate()
889 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate()
893 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc); in CheckClassTemplate()
895 LookupQualifiedName(Previous, SemanticContext); in CheckClassTemplate()
897 SemanticContext = CurContext; in CheckClassTemplate()
904 DiagnoseClassNameShadow(SemanticContext, in CheckClassTemplate()
952 SemanticContext = PrevDecl->getDeclContext(); in CheckClassTemplate()
958 SemanticContext = OutermostContext; in CheckClassTemplate()
963 DeclContext *LookupContext = SemanticContext; in CheckClassTemplate()
976 !isDeclInScope(Previous.getRepresentativeDecl(), SemanticContext, in CheckClassTemplate()
985 SemanticContext->getRedeclContext()))) { in CheckClassTemplate()
1069 (SS.isSet() && SemanticContext && SemanticContext->isRecord() && in CheckClassTemplate()
1070 SemanticContext->isDependentContext()) in CheckClassTemplate()
1082 << Name << SemanticContext << /*IsDefinition*/true << SS.getRange(); in CheckClassTemplate()
1088 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate()
1106 = ClassTemplateDecl::Create(Context, SemanticContext, NameLoc, in CheckClassTemplate()
1161 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()