| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiate.cpp | 2464 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() local 2712 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local 2894 SavedContext.pop(); in InstantiateClass() 2960 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local 2973 SavedContext.pop(); in InstantiateEnum() 3033 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
|
| H A D | SemaTemplateDeduction.cpp | 2818 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() local 2903 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() local 3147 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local 3450 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local 4098 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments() local
|
| H A D | SemaTemplateInstantiateDecl.cpp | 55 Sema::ContextRAII SavedContext( in SubstQualifier() local 326 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local 407 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() local 4525 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument() local 4769 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() local
|
| H A D | SemaTemplate.cpp | 1771 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local 5174 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext(), in SubstDefaultTemplateArgument() local 5227 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local 5280 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
|
| H A D | SemaDeclObjC.cpp | 532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local 1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
|
| H A D | SemaDecl.cpp | 2395 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local 2398 CurContext = SavedContext; in LazilyCreateBuiltin() 6219 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local 9570 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local 15442 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction() local
|
| H A D | TreeTransform.h | 12587 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr() 13138 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr() 13283 SavedContext.pop(); in TransformLambdaExpr() 13295 SavedContext.pop(); in TransformLambdaExpr()
|
| H A D | SemaDeclAttr.cpp | 9296 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local 9301 CurContext = SavedContext; in DeclApplyPragmaWeak()
|
| H A D | SemaDeclCXX.cpp | 13328 Sema::ContextRAII SavedContext; member 13332 : S(S), D(RD, CSM), SavedContext(S, RD) { in DeclaringSpecialMember() 17761 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 994 DeclContext *SavedContext; variable 1002 : S(S), SavedContext(S.CurContext), in S() 1018 if (!SavedContext) return; in pop() 1019 S.CurContext = SavedContext; in pop() 1024 SavedContext = nullptr; in pop() 1050 Sema::ContextRAII SavedContext; variable 1055 : S(S), SavedContext(S, DC) { in SynthesizedFunctionScope()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 2893 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
|