/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 1672 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()
|
D | SemaTemplateDeduction.cpp | 2174 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
|
D | SemaDeclObjC.cpp | 458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local 1004 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
|
D | SemaTemplate.cpp | 904 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
|
D | SemaTemplateInstantiateDecl.cpp | 48 Sema::ContextRAII SavedContext( in SubstQualifier() local 253 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() local
|
D | SemaDecl.cpp | 1847 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
|
D | SemaDeclAttr.cpp | 6076 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local 6081 CurContext = SavedContext; in DeclApplyPragmaWeak()
|
D | TreeTransform.h | 10234 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr() 10373 SavedContext.pop(); in TransformLambdaExpr() 10385 SavedContext.pop(); in TransformLambdaExpr()
|
D | SemaDeclCXX.cpp | 9091 Sema::ContextRAII SavedContext; member 9095 : S(S), D(RD, CSM), SavedContext(S, RD) { in DeclaringSpecialMember() 13434 ContextRAII SavedContext(*this, DD); in MarkVTableUsed() local
|
D | SemaExpr.cpp | 4532 ContextRAII SavedContext(*this, FD); in BuildCXXDefaultArgExpr() local
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 2417 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
|
D | SemaTemplateDeduction.cpp | 2957 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
|
D | SemaTemplateInstantiateDecl.cpp | 53 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
|
D | SemaTemplate.cpp | 1745 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
|
D | SemaDeclObjC.cpp | 532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() local 1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface() local
|
D | SemaDecl.cpp | 2145 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
|
D | TreeTransform.h | 11989 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()
|
D | SemaDeclAttr.cpp | 8306 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local 8311 CurContext = SavedContext; in DeclApplyPragmaWeak()
|
D | SemaDeclCXX.cpp | 12888 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/ |
D | Sema.h | 636 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/ |
D | Sema.h | 872 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/ |
D | ParseExpr.cpp | 2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseExpr.cpp | 2818 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression() local
|