Home
last modified time | relevance | path

Searched refs:SavedContext (Results 1 – 23 of 23) 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/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp2417 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() local
2665 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
2846 SavedContext.pop(); in InstantiateClass()
2912 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
2925 SavedContext.pop(); in InstantiateEnum()
2985 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer() local
DSemaTemplateDeduction.cpp2957 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() local
3043 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() local
3279 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
3582 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
4231 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments() local
DSemaTemplateInstantiateDecl.cpp53 Sema::ContextRAII SavedContext( in SubstQualifier() local
302 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local
383 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() local
4336 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument() local
4625 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() local
DSemaTemplate.cpp1745 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
5090 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
5142 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
5195 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
DSemaDeclObjC.cpp532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local
1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
DSemaDecl.cpp2145 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
2148 CurContext = SavedContext; in LazilyCreateBuiltin()
5753 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
8984 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
14681 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction() local
DTreeTransform.h11989 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr()
12528 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
12673 SavedContext.pop(); in TransformLambdaExpr()
12685 SavedContext.pop(); in TransformLambdaExpr()
DSemaDeclAttr.cpp8306 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
8311 CurContext = SavedContext; in DeclApplyPragmaWeak()
DSemaDeclCXX.cpp12888 Sema::ContextRAII SavedContext; member
12892 : S(S), D(RD, CSM), SavedContext(S, RD) { in DeclaringSpecialMember()
17209 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() 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/llvm-project/clang/include/clang/Sema/
DSema.h872 DeclContext *SavedContext; variable
880 : S(S), SavedContext(S.CurContext), in S()
896 if (!SavedContext) return; in pop()
897 S.CurContext = SavedContext; in pop()
902 SavedContext = nullptr; in pop()
928 Sema::ContextRAII SavedContext; variable
933 : S(S), SavedContext(S, DC) { in SynthesizedFunctionScope()
/external/clang/lib/Parse/
DParseExpr.cpp2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp2818 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local