| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeductionGuide.cpp | 1346 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareAggregateDeductionGuideFromInitList() local 1350 SavedContext.pop(); in DeclareAggregateDeductionGuideFromInitList() 1399 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareImplicitDeductionGuides() local 1449 SavedContext.pop(); in DeclareImplicitDeductionGuides()
|
| H A D | SemaTemplateInstantiate.cpp | 3235 ContextRAII SavedContext(*this, FD); in SubstDefaultArgument() local 3452 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local 3635 SavedContext.pop(); in InstantiateClass() 3686 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local 3699 SavedContext.pop(); in InstantiateEnum() 3744 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
|
| H A D | SemaTemplateDeduction.cpp | 3124 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() local 3220 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() local 3269 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(TD)); in FinishTemplateArgumentDeduction() local 3499 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local 3829 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local 4580 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments() local
|
| H A D | SemaTemplate.cpp | 1850 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local 3354 std::optional<ContextRAII> SavedContext; in CheckTemplateIdType() local 3356 SavedContext.emplace(*this, AliasTemplate->getDeclContext()); in CheckTemplateIdType() 4781 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext(), in SubstDefaultTemplateArgument() local 4833 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local 4883 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
|
| H A D | SemaTemplateInstantiateDecl.cpp | 62 Sema::ContextRAII SavedContext( in SubstQualifier() local 344 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local 425 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() local 4875 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() local
|
| H A D | SemaConcept.cpp | 873 ContextRAII SavedContext{*this, CtxToSave}; in CheckFunctionConstraints() local
|
| H A D | SemaDeclObjC.cpp | 544 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local 1088 Sema::ContextRAII SavedContext(SemaRef, IDecl); in ActOnStartClassInterface() local
|
| H A D | SemaDecl.cpp | 2383 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local 2386 CurContext = SavedContext; in LazilyCreateBuiltin() 6273 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local 9817 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local 16267 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction() local
|
| H A D | SemaDeclAttr.cpp | 7289 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local 7294 CurContext = SavedContext; in DeclApplyPragmaWeak()
|
| H A D | TreeTransform.h | 13890 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr() 14413 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr() 14652 SavedContext.pop(); in TransformLambdaExpr() 14664 SavedContext.pop(); in TransformLambdaExpr()
|
| H A D | SemaDeclCXX.cpp | 13744 Sema::ContextRAII SavedContext; member 13748 : S(S), D(RD, CSM), SavedContext(S, RD) { in DeclaringSpecialMember() 18481 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 3013 DeclContext *SavedContext; variable 3021 : S(S), SavedContext(S.CurContext), in S() 3036 if (!SavedContext) in pop() 3038 S.CurContext = SavedContext; in pop() 3043 SavedContext = nullptr; in pop() 13073 Sema::ContextRAII SavedContext; variable 13078 : S(S), SavedContext(S, DC) { in SynthesizedFunctionScope()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 3087 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
|