Searched refs:ContextRAII (Results 1 - 12 of 12) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParseTemplate.cpp1268 Sema::ContextRAII GlobalSavedContext(Actions, Actions.CurContext);
1331 Sema::ContextRAII FunctionSavedContext(Actions, Actions.getContainingDC(FunD));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1581 Sema::ContextRAII SavedContext(SemaRef, Inh->getDeclContext());
3140 Sema::ContextRAII savedContext(*this, Decl);
3390 Sema::ContextRAII savedContext(*this, Function);
3747 ContextRAII PreviousContext(*this, Var->getDeclContext());
3871 ContextRAII PreviousContext(*this, Var->getDeclContext());
H A DSemaTemplateInstantiate.cpp2018 ContextRAII SavedContext(*this, Instantiation);
2255 ContextRAII SavedContext(*this, Instantiation);
H A DSemaTemplateDeduction.cpp2135 Sema::ContextRAII SavedContext(S, Partial);
2556 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl());
2788 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl());
H A DSemaExprCXX.cpp3667 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl());
3828 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
3877 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
H A DSemaTemplate.cpp894 ContextRAII SavedContext(*this, SemanticContext);
3077 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
3130 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
3182 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
H A DSemaObjCProperty.cpp491 ContextRAII SavedContext(*this, CCPrimary);
H A DSemaDecl.cpp4271 ContextRAII SavedContext(*this, DC);
6653 ContextRAII SavedContext(*this, DC);
H A DTreeTransform.h8421 Sema::ContextRAII SavedContext(getSema(), CallOperator);
H A DSemaExpr.cpp3887 ContextRAII SavedContext(*this, FD);
H A DSemaDeclCXX.cpp5258 ContextRAII MethodContext(*this, MD);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h475 class ContextRAII { class in class:clang::Sema
483 ContextRAII(Sema &S, DeclContext *ContextToPush) function in class:clang::Sema::ContextRAII
500 ~ContextRAII() {
509 Sema::ContextRAII SavedContext;

Completed in 548 milliseconds