/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 53 Sema::ContextRAII SavedContext( in SubstQualifier() 205 Sema::ContextRAII SwitchContext(S, New); in instantiateDependentFunctionAttrCondition() 302 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() 383 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareVariantAttr() 4336 ContextRAII SavedContext(*this, FD); in InstantiateDefaultArgument() 4404 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec() 4442 Sema::ContextRAII savedContext(*this, Decl); in CheckInstantiatedFunctionTemplateConstraints() 4542 Sema::ContextRAII SwitchContext(SemaRef, New); in InitFunctionInstantiation() 4625 ContextRAII SavedContext(*this, FD); in InstantiateFunctionDeclaration() 4829 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition() [all …]
|
D | SemaTemplateInstantiate.cpp | 2012 EnterExpressionEvaluationContext ContextRAII( in TransformNestedRequirement() local 2417 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() 2665 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() 2912 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() 2985 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
|
D | SemaCUDA.cpp | 302 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
|
D | SemaTemplateDeduction.cpp | 2957 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Partial)); in FinishTemplateArgumentDeduction() 3043 Sema::ContextRAII SavedContext(S, getAsDeclContextOrEnclosing(Template)); in FinishTemplateArgumentDeduction() 3279 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 3582 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() 4231 ContextRAII SavedContext(*this, CallingCtx); in DeduceTemplateArguments()
|
D | SemaTemplate.cpp | 1745 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() 5090 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 5142 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 5195 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
|
D | SemaDeclObjC.cpp | 532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 1083 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
|
D | SemaExprCXX.cpp | 5166 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait() 5375 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait() 5427 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
|
D | SemaDeclCXX.cpp | 1057 EnterExpressionEvaluationContext ContextRAII( in isTupleLike() local 9142 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember() 10296 ContextRAII SwitchContext(*this, Destructor); in CheckDestructor() 12888 Sema::ContextRAII SavedContext; 17209 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
|
D | SemaDecl.cpp | 5753 ContextRAII SavedContext(*this, DC); in HandleDeclarator() 8984 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() 14681 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()
|
D | TreeTransform.h | 11989 Sema::ContextRAII SavedContext(getSema(), Body, /*NewThisContext*/false); in TransformRequiresExpr() 12528 Sema::ContextRAII SavedContext(getSema(), NewCallOperator, in TransformLambdaExpr()
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 234 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember()
|
D | SemaTemplateInstantiateDecl.cpp | 48 Sema::ContextRAII SavedContext( in SubstQualifier() 253 Sema::ContextRAII SavedContext(S, FD); in instantiateOMPDeclareSimdDeclAttr() 3368 Sema::ContextRAII savedContext(*this, Decl); in InstantiateExceptionSpec() 3661 Sema::ContextRAII savedContext(*this, Function); in InstantiateFunctionDefinition() 3901 ContextRAII SwitchContext(*this, Var->getDeclContext()); in InstantiateVariableInitializer() 4033 ContextRAII PreviousContext(*this, Var->getDeclContext()); in InstantiateVariableDefinition() 4162 ContextRAII PreviousContext(*this, Var->getDeclContext()); in InstantiateVariableDefinition()
|
D | SemaTemplateInstantiate.cpp | 1672 Sema::ContextRAII SavedContext(*this, OwningFunc); in SubstParmVarDecl() 1958 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() 2187 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() 2257 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
|
D | SemaTemplateDeduction.cpp | 2174 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction() 2539 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 2779 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
|
D | SemaExprCXX.cpp | 4398 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait() 4575 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait() 4626 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
|
D | SemaDeclObjC.cpp | 458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 1004 ContextRAII SavedContext(*this, IDecl); in ActOnStartClassInterface()
|
D | SemaTemplate.cpp | 904 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() 3272 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() 3375 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
|
D | SemaDeclCXX.cpp | 5980 ContextRAII MethodContext(*this, MD); in ShouldDeleteSpecialMember() 9091 Sema::ContextRAII SavedContext; 13434 ContextRAII SavedContext(*this, DD); in MarkVTableUsed()
|
D | SemaDecl.cpp | 4987 ContextRAII SavedContext(*this, DC); in HandleDeclarator() 7772 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator()
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 1341 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef() 1386 Sema::ContextRAII FunctionSavedContext(Actions, in ParseLateTemplatedFuncDef()
|
D | ParseExpr.cpp | 2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseTemplate.cpp | 1640 Sema::ContextRAII GlobalSavedContext( in ParseLateTemplatedFuncDef() 1679 Sema::ContextRAII FunctionSavedContext(Actions, FunD->getLexicalParent()); in ParseLateTemplatedFuncDef()
|
D | ParseExpr.cpp | 2818 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 633 class ContextRAII { 641 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true) 660 ~ContextRAII() { in ~ContextRAII() 669 Sema::ContextRAII SavedContext;
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 869 class ContextRAII { 879 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true) 905 ~ContextRAII() { in ~ContextRAII() 928 Sema::ContextRAII SavedContext;
|