Home
last modified time | relevance | path

Searched refs:ContextRAII (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp55 Sema::ContextRAII SavedContext( in SubstQualifier()
207 Sema::ContextRAII SwitchContext(S, New); in instantiateDependentFunctionAttrCondition()
304 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr()
385 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr()
4464 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument()
4532 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec()
4570 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints()
4674 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation()
4757 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration()
5030 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition()
[all …]
H A DSemaTemplateInstantiate.cpp2014 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local
2419 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl()
2667 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
2916 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2989 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
H A DSemaCUDA.cpp343 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
H A DSemaTemplateDeduction.cpp2942 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction()
3028 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction()
3272 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
3575 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
4222 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments()
H A DSemaTemplate.cpp1766 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate()
5113 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
5165 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
5218 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
H A DSemaDeclObjC.cpp532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
H A DSemaExprCXX.cpp5286 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
5495 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
5547 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
H A DSemaDeclCXX.cpp1069 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local
9228 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember()
10382 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor()
13128 Sema::ContextRAII SavedContext;
17490 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
H A DSemaDecl.cpp5845 ContextRAII SavedContext(*this, DC); in HandleDeclarator()
9130 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator()
14868 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
H A DTreeTransform.h12306 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr()
12843 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp1640 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef()
1679 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
H A DParseExpr.cpp2855 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h984 class ContextRAII {
994 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true)
1020 ~ContextRAII() { in ~ContextRAII()
1043 Sema::ContextRAII SavedContext;