Home
last modified time | relevance | path

Searched refs:SavedContext (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1955 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
2115 SavedContext.pop(); in InstantiateClass()
2172 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
2185 SavedContext.pop(); in InstantiateEnum()
2240 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
2258 SavedContext.pop(); in InstantiateInClassInitializer()
DSemaTemplateDeduction.cpp2116 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction() local
2534 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
2770 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
DSemaTemplate.cpp888 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
3181 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
3234 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
3286 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
DSemaTemplateInstantiateDecl.cpp48 Sema::ContextRAII SavedContext( in SubstQualifier() local
1690 Sema::ContextRAII SavedContext(SemaRef, Inh->getDeclContext()); in VisitCXXMethodDecl() local
DSemaObjCProperty.cpp479 ContextRAII SavedContext(*this, CCPrimary); in HandlePropertyInClassExtension() local
DSemaDeclAttr.cpp5044 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
5049 CurContext = SavedContext; in DeclApplyPragmaWeak()
DSemaDecl.cpp1777 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
1780 CurContext = SavedContext; in LazilyCreateBuiltin()
4678 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
7150 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
DTreeTransform.h9228 Sema::ContextRAII SavedContext(getSema(), CallOperator, in TransformLambdaScope()
DSemaDeclCXX.cpp13152 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
DSemaExpr.cpp4131 ContextRAII SavedContext(*this, FD); in BuildCXXDefaultArgExpr() local
/external/clang/include/clang/Sema/
DSema.h543 DeclContext *SavedContext; variable
549 : S(S), SavedContext(S.CurContext), in S()
560 if (!SavedContext) return; in pop()
561 S.CurContext = SavedContext; in pop()
564 SavedContext = nullptr; in pop()
576 Sema::ContextRAII SavedContext; variable
580 : S(S), SavedContext(S, DC) in SynthesizedFunctionScope()