Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1863 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass() local
2026 SavedContext.pop(); in InstantiateClass()
2079 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum() local
2092 SavedContext.pop(); in InstantiateEnum()
DSemaTemplateDeduction.cpp2050 Sema::ContextRAII SavedContext(S, Partial); in FinishTemplateArgumentDeduction() local
2303 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() local
2538 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() local
DSemaTemplate.cpp897 ContextRAII SavedContext(*this, SemanticContext); in CheckClassTemplate() local
2578 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
2628 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
2678 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument() local
DSemaObjCProperty.cpp380 ContextRAII SavedContext(*this, CCPrimary); in HandlePropertyInClassExtension() local
DSemaDecl.cpp1535 DeclContext *SavedContext = CurContext; in LazilyCreateBuiltin() local
1538 CurContext = SavedContext; in LazilyCreateBuiltin()
3652 ContextRAII SavedContext(*this, DC); in HandleDeclarator() local
5245 ContextRAII SavedContext(*this, DC); in ActOnFunctionDeclarator() local
DSemaDeclAttr.cpp4663 DeclContext *SavedContext = CurContext; in DeclApplyPragmaWeak() local
4666 CurContext = SavedContext; in DeclApplyPragmaWeak()
DSemaDeclCXX.cpp6722 Sema::ContextRAII SavedContext; member in __anon8123c3a80a11::ImplicitlyDefinedFunctionScope
6726 : S(S), SavedContext(S, Method) in ImplicitlyDefinedFunctionScope()
DTreeTransform.h7897 Sema::ContextRAII SavedContext(getSema(), CallOperator); in TransformLambdaScope()
DSemaExpr.cpp3444 ContextRAII SavedContext(*this, FD); in BuildCXXDefaultArgExpr() local
/external/clang/include/clang/Sema/
DSema.h432 DeclContext *SavedContext; variable
438 : S(S), SavedContext(S.CurContext), in ContextRAII()
447 if (!SavedContext) return; in pop()
448 S.CurContext = SavedContext; in pop()
451 SavedContext = 0; in pop()