| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 55 Sema::ContextRAII SavedContext( in SubstQualifier() 229 Sema::ContextRAII SwitchContext(S, New); in instantiateDependentFunctionAttrCondition() 326 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() 407 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() 4525 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument() 4592 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec() 4686 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation() 4769 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() 5049 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition() 5334 ContextRAII SwitchContext(*this, Var->getDeclContext()); in InstantiateVariableInitializer() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 2030 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local 2464 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() 2712 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() 2960 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() 3033 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
|
| H A D | SemaCUDA.cpp | 345 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
|
| H A D | SemaTemplateDeduction.cpp | 2818 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() 2903 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() 3147 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 3450 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() 4098 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments()
|
| H A D | SemaConcept.cpp | 424 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints()
|
| H A D | SemaTemplate.cpp | 1771 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() 5174 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext(), in SubstDefaultTemplateArgument() 5227 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 5280 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
|
| H A D | SemaDeclObjC.cpp | 532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
|
| H A D | SemaExprCXX.cpp | 5351 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait() 5598 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait() 5650 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
|
| H A D | SemaDeclCXX.cpp | 1070 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local 9408 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember() 10575 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor() 13328 Sema::ContextRAII SavedContext; 17761 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
|
| H A D | SemaDecl.cpp | 6219 ContextRAII SavedContext(*this, DC); in HandleDeclarator() 9570 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() 15442 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
|
| H A D | TreeTransform.h | 12587 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr() 13138 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 1687 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef() 1726 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
|
| H A D | ParseExpr.cpp | 2893 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 991 class ContextRAII { 1001 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true) 1027 ~ContextRAII() { in ~ContextRAII() 1050 Sema::ContextRAII SavedContext;
|