Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A 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()
4340 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument()
4408 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec()
4446 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints()
4550 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation()
4633 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration()
4837 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition()
[all …]
H A DSemaTemplateInstantiate.cpp2015 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local
2420 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl()
2668 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
2916 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2989 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
H A DSemaCUDA.cpp340 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.cpp5238 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
5447 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
5499 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
H A DSemaDeclCXX.cpp1071 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local
9221 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember()
10375 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor()
12946 Sema::ContextRAII SavedContext;
17285 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
H A DSemaDecl.cpp5782 ContextRAII SavedContext(*this, DC); in HandleDeclarator()
9071 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator()
14812 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
H A DTreeTransform.h12227 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr()
12768 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTemplate.cpp1640 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef()
1679 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
H A DParseExpr.cpp2825 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h977 class ContextRAII {
987 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true)
1013 ~ContextRAII() { in ~ContextRAII()
1036 Sema::ContextRAII SavedContext;