Home
last modified time | relevance | path

Searched defs:SavedContext (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp1346 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareAggregateDeductionGuideFromInitList() local
1399 ContextRAII SavedContext(*this, Pattern->getTemplatedDecl()); in DeclareImplicitDeductionGuides() local
H A DSemaTemplateDeduction.cpp3124 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() local
3220 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() local
3269 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(TD)); in FinishTemplateArgumentDeduction() local
3499 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
3829 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
4580 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments() local
H A DSemaTemplateInstantiate.cpp3232 ContextRAII SavedContext(*this, FD); in SubstDefaultArgument() local
3459 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
3693 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
3751 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
H A DSemaTemplateInstantiateDecl.cpp62 Sema::ContextRAII SavedContext( in SubstQualifier() local
344 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local
425 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() local
4873 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() local
H A DSemaTemplate.cpp1850 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
3354 std::optional<ContextRAII> SavedContext; in CheckTemplateIdType() local
4781 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext(), in SubstDefaultTemplateArgument() local
4833 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
4883 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
H A DSemaConcept.cpp873 ContextRAII SavedContext{*this, CtxToSave}; in CheckFunctionConstraints() local
H A DSemaDeclObjC.cpp544 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local
1088 Sema::ContextRAII SavedContext(SemaRef, IDecl); in ActOnStartClassInterface() local
H A DSemaDecl.cpp2383 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
6273 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
9817 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
16267 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction() local
H A DSemaDeclAttr.cpp7289 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
H A DSemaDeclCXX.cpp13744 Sema::ContextRAII SavedContext; member
18481 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3087 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3013 DeclContext *SavedContext; variable
13066 Sema::ContextRAII SavedContext; variable