/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 62 Sema::ContextRAII SavedContext( in SubstQualifier() 239 Sema::ContextRAII SwitchContext(S, New); in instantiateDependentFunctionAttrCondition() 344 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() 425 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() 4700 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec() 4798 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation() 4873 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() 5157 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition() 5444 ContextRAII SwitchContext(*this, Var->getDeclContext()); in InstantiateVariableInitializer() 5544 ContextRAII PreviousContext(*this, Var->getDeclContext()); in InstantiateVariableDefinition() [all …]
|
H A D | SemaConcept.cpp | 873 ContextRAII SavedContext{*this, CtxToSave}; in CheckFunctionConstraints() 1006 std::optional<Sema::ContextRAII> ContextScope; in SubstituteConstraintExpressionWithoutSatisfaction() 1113 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints()
|
H A D | SemaTemplateDeductionGuide.cpp | 1346 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareAggregateDeductionGuideFromInitList() 1399 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareImplicitDeductionGuides()
|
H A D | SemaTemplateInstantiate.cpp | 2757 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local 3232 ContextRAII SavedContext(*this, FD); in SubstDefaultArgument() 3459 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() 3693 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() 3751 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
|
H A D | SemaTemplateDeduction.cpp | 3124 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() 3220 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() 3269 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(TD)); in FinishTemplateArgumentDeduction() 3499 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 3829 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() 4580 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments()
|
H A D | SemaCUDA.cpp | 393 Sema::ContextRAII MethodContext(SemaRef, MemberDecl); in inferTargetForImplicitSpecialMember()
|
H A D | SemaLambda.cpp | 463 ContextRAII ManglingContext(*this, Class->getDeclContext()); in handleLambdaNumbering() 1339 ContextRAII Context(*this, LSI->CallOperator, /*NewThisContext*/ false); in ActOnLambdaClosureQualifiers()
|
H A D | SemaTemplate.cpp | 1850 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() 3354 std::optional<ContextRAII> SavedContext; in CheckTemplateIdType() 4781 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext(), in SubstDefaultTemplateArgument() 4833 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 4883 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 5582 ContextRAII Context(*this, NewContext); in CheckTemplateArgumentList()
|
H A D | SemaExprCXX.cpp | 5139 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in HasNonDeletedDefaultedEqualityComparison() 5702 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in CheckConvertibilityForTypeTraits() 5797 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in EvaluateBooleanTypeTrait() 6102 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
|
H A D | SemaDeclObjC.cpp | 544 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 1088 Sema::ContextRAII SavedContext(SemaRef, IDecl); in ActOnStartClassInterface()
|
H A D | SemaDeclCXX.cpp | 1122 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local 9699 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember() 10865 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor() 13744 Sema::ContextRAII SavedContext; 18481 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
|
H A D | TreeTransform.h | 13890 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr() 14413 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr() 14617 Sema::ContextRAII ManglingContext(getSema(), Class->getDeclContext()); in TransformLambdaExpr()
|
H A D | SemaDecl.cpp | 6273 ContextRAII SavedContext(*this, DC); in HandleDeclarator() 9817 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() 16267 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 1619 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef() 1663 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
|
H A D | ParseCXXInlineMethods.cpp | 532 Sema::ContextRAII FnContext(Actions, FunctionToPush, in ParseLexedMethodDeclaration()
|
H A D | ParseExpr.cpp | 3087 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 3010 class ContextRAII { 3020 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true) 3046 ~ContextRAII() { pop(); } in ~ContextRAII() 13066 Sema::ContextRAII SavedContext;
|