Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1672 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() local
1958 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
2128 SavedContext.pop(); in InstantiateClass()
2187 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
2200 SavedContext.pop(); in InstantiateEnum()
2257 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
2275 SavedContext.pop(); in InstantiateInClassInitializer()
DSemaTemplateDeduction.cpp2174 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction() local
2539 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
2779 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
DSemaDeclObjC.cpp458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local
1004 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
DSemaTemplate.cpp904 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
3272 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
3375 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
DSemaTemplateInstantiateDecl.cpp48 Sema::ContextRAII SavedContext( in SubstQualifier() local
253 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local
DSemaDecl.cpp1847 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
1850 CurContext = SavedContext; in LazilyCreateBuiltin()
4987 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
7772 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
DSemaDeclAttr.cpp6076 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
6081 CurContext = SavedContext; in DeclApplyPragmaWeak()
DTreeTransform.h10234 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
10373 SavedContext.pop(); in TransformLambdaExpr()
10385 SavedContext.pop(); in TransformLambdaExpr()
DSemaDeclCXX.cpp9091 Sema::ContextRAII SavedContext; member
9095 : S(S), D(RD, CSM), SavedContext(S, RD) { in DeclaringSpecialMember()
13434 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
DSemaExpr.cpp4532 ContextRAII SavedContext(*this, FD); in BuildCXXDefaultArgExpr() local
/external/clang/include/clang/Sema/
DSema.h636 DeclContext *SavedContext; variable
642 : S(S), SavedContext(S.CurContext), in S()
653 if (!SavedContext) return; in pop()
654 S.CurContext = SavedContext; in pop()
657 SavedContext = nullptr; in pop()
669 Sema::ContextRAII SavedContext; variable
673 : S(S), SavedContext(S, DC) in SynthesizedFunctionScope()
/external/clang/lib/Parse/
DParseExpr.cpp2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local