Lines Matching refs:SemaObj
4023 if (wasHidden && SemaObj) { in makeNamesVisible()
4025 moveMethodToBackOfGlobalList(*SemaObj, Method); in makeNamesVisible()
4382 if (SemaObj) in ReadAST()
7819 SemaObj = &S; in InitializeSema()
7835 SemaObj->CurFPFeatures = in InitializeSema()
7836 NewOverrides.applyOverrides(SemaObj->getLangOpts()); in InitializeSema()
7839 SemaObj->OpenCLFeatures.copy(OpenCLExtensions); in InitializeSema()
7840 SemaObj->OpenCLTypeExtMap = OpenCLTypeExtMap; in InitializeSema()
7841 SemaObj->OpenCLDeclExtMap = OpenCLDeclExtMap; in InitializeSema()
7847 assert(SemaObj && "no Sema to update"); in UpdateSema()
7854 if (!SemaObj->StdNamespace) in UpdateSema()
7855 SemaObj->StdNamespace = SemaDeclRefs[I]; in UpdateSema()
7856 if (!SemaObj->StdBadAlloc) in UpdateSema()
7857 SemaObj->StdBadAlloc = SemaDeclRefs[I+1]; in UpdateSema()
7858 if (!SemaObj->StdAlignValT) in UpdateSema()
7859 SemaObj->StdAlignValT = SemaDeclRefs[I+2]; in UpdateSema()
7867 SemaObj->ActOnPragmaOptimize(/* On = */ false, OptimizeOffPragmaLocation); in UpdateSema()
7869 SemaObj->ActOnPragmaMSStruct((PragmaMSStructKind)PragmaMSStructState); in UpdateSema()
7871 SemaObj->ActOnPragmaMSPointersToMembers( in UpdateSema()
7876 SemaObj->ForceCUDAHostDeviceDepth = ForceCUDAHostDeviceDepth; in UpdateSema()
7885 assert(PragmaPackStack.front().Value == SemaObj->PackStack.DefaultValue && in UpdateSema()
7887 SemaObj->PackStack.Stack.emplace_back( in UpdateSema()
7888 PragmaPackStack.front().SlotLabel, SemaObj->PackStack.CurrentValue, in UpdateSema()
7889 SemaObj->PackStack.CurrentPragmaLocation, in UpdateSema()
7895 SemaObj->PackStack.Stack.emplace_back(Entry.SlotLabel, Entry.Value, in UpdateSema()
7898 assert(*PragmaPackCurrentValue == SemaObj->PackStack.DefaultValue && in UpdateSema()
7902 SemaObj->PackStack.CurrentValue = *PragmaPackCurrentValue; in UpdateSema()
7903 SemaObj->PackStack.CurrentPragmaLocation = PragmaPackCurrentLocation; in UpdateSema()
7913 SemaObj->FpPragmaStack.DefaultValue && in UpdateSema()
7915 SemaObj->FpPragmaStack.Stack.emplace_back( in UpdateSema()
7916 FpPragmaStack.front().SlotLabel, SemaObj->FpPragmaStack.CurrentValue, in UpdateSema()
7917 SemaObj->FpPragmaStack.CurrentPragmaLocation, in UpdateSema()
7923 SemaObj->FpPragmaStack.Stack.emplace_back( in UpdateSema()
7926 assert(*FpPragmaCurrentValue == SemaObj->FpPragmaStack.DefaultValue && in UpdateSema()
7930 SemaObj->FpPragmaStack.CurrentValue = *FpPragmaCurrentValue; in UpdateSema()
7931 SemaObj->FpPragmaStack.CurrentPragmaLocation = FpPragmaCurrentLocation; in UpdateSema()
7940 SemaObj->makeModuleVisible(Imported, Import.ImportLoc); in UpdateSema()
8440 if (!SemaObj) { in SetGloballyVisibleDecls()
11734 SemaObj->IdResolver.RemoveDecl(ND); in pushExternalDeclIntoScope()
11742 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope()
11743 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
11744 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope()
11748 if (std::find(SemaObj->IdResolver.begin(Name), in pushExternalDeclIntoScope()
11749 SemaObj->IdResolver.end(), D) != SemaObj->IdResolver.end()) in pushExternalDeclIntoScope()
11750 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
11798 return SemaObj ? SemaObj->IdResolver : DummyIdResolver; in getIdResolver()