Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1680 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() local
1954 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
2114 SavedContext.pop(); in InstantiateClass()
2171 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
2184 SavedContext.pop(); in InstantiateEnum()
2239 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
2257 SavedContext.pop(); in InstantiateInClassInitializer()
DSemaTemplateDeduction.cpp2124 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction() local
2542 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
2778 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
DSemaTemplate.cpp889 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
3230 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
3283 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
3336 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
DSemaTemplateInstantiateDecl.cpp48 Sema::ContextRAII SavedContext( in SubstQualifier() local
1755 Sema::ContextRAII SavedContext(SemaRef, Inh->getDeclContext()); in VisitCXXMethodDecl() local
DSemaDeclObjC.cpp459 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local
1005 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
DSemaDeclAttr.cpp5625 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
5630 CurContext = SavedContext; in DeclApplyPragmaWeak()
DSemaDecl.cpp1792 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
1795 CurContext = SavedContext; in LazilyCreateBuiltin()
4854 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
7493 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
DTreeTransform.h9899 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
10036 SavedContext.pop(); in TransformLambdaExpr()
10048 SavedContext.pop(); in TransformLambdaExpr()
DSemaDeclCXX.cpp13216 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
DSemaExpr.cpp4297 ContextRAII SavedContext(*this, FD); in BuildCXXDefaultArgExpr() local
/external/clang/include/clang/Sema/
DSema.h604 DeclContext *SavedContext; variable
610 : S(S), SavedContext(S.CurContext), in S()
621 if (!SavedContext) return; in pop()
622 S.CurContext = SavedContext; in pop()
625 SavedContext = nullptr; in pop()
637 Sema::ContextRAII SavedContext; variable
641 : S(S), SavedContext(S, DC) in SynthesizedFunctionScope()
/external/clang/lib/Parse/
DParseExpr.cpp2193 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local