Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp53 Sema::ContextRAII SavedContext( in SubstQualifier()
205 Sema::ContextRAII SwitchContext(S, New); in instantiateDependentFunctionAttrCondition()
302 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr()
383 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr()
4336 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument()
4404 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec()
4442 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints()
4542 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation()
4625 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration()
4829 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition()
[all …]
DSemaTemplateInstantiate.cpp2012 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local
2417 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl()
2665 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
2912 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2985 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
DSemaCUDA.cpp302 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
DSemaTemplateDeduction.cpp2957 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction()
3043 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction()
3279 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
3582 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
4231 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments()
DSemaTemplate.cpp1745 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate()
5090 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
5142 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
5195 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
DSemaDeclObjC.cpp532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
DSemaExprCXX.cpp5166 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
5375 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
5427 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
DSemaDeclCXX.cpp1057 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local
9142 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember()
10296 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor()
12888 Sema::ContextRAII SavedContext;
17209 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
DSemaDecl.cpp5753 ContextRAII SavedContext(*this, DC); in HandleDeclarator()
8984 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator()
14681 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
DTreeTransform.h11989 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr()
12528 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
/external/clang/lib/Sema/
DSemaCUDA.cpp234 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
DSemaTemplateInstantiateDecl.cpp48 Sema::ContextRAII SavedContext( in SubstQualifier()
253 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr()
3368 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec()
3661 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition()
3901 ContextRAII SwitchContext(*this, Var->getDeclContext()); in InstantiateVariableInitializer()
4033 ContextRAII PreviousContext(*this, Var->getDeclContext()); in InstantiateVariableDefinition()
4162 ContextRAII PreviousContext(*this, Var->getDeclContext()); in InstantiateVariableDefinition()
DSemaTemplateInstantiate.cpp1672 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl()
1958 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
2187 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2257 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
DSemaTemplateDeduction.cpp2174 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction()
2539 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
2779 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
DSemaExprCXX.cpp4398 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
4575 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
4626 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
DSemaDeclObjC.cpp458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
1004 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
DSemaTemplate.cpp904 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate()
3272 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
3375 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
DSemaDeclCXX.cpp5980 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember()
9091 Sema::ContextRAII SavedContext;
13434 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
DSemaDecl.cpp4987 ContextRAII SavedContext(*this, DC); in HandleDeclarator()
7772 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator()
/external/clang/lib/Parse/
DParseTemplate.cpp1341 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef()
1386 Sema::ContextRAII FunctionSavedContext(Actions, in ParseLateTemplatedFuncDef()
DParseExpr.cpp2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
/external/llvm-project/clang/lib/Parse/
DParseTemplate.cpp1640 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef()
1679 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
DParseExpr.cpp2818 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
/external/clang/include/clang/Sema/
DSema.h633 class ContextRAII {
641 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true)
660 ~ContextRAII() { in ~ContextRAII()
669 Sema::ContextRAII SavedContext;
/external/llvm-project/clang/include/clang/Sema/
DSema.h869 class ContextRAII {
879 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true)
905 ~ContextRAII() { in ~ContextRAII()
928 Sema::ContextRAII SavedContext;

12