Searched refs:RAII (Results 1 – 11 of 11) sorted by relevance
5 RAII to prevent resource leakage, expose C++-friendly data types, report
182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
1182 struct RAII { in ExecuteAction() struct1185 ~RAII() { Ctx.setDiagnosticHandler(std::move(PrevHandler)); } in ExecuteAction() argument
497 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByReferenceBinding() local641 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByInitializer() local
1660 Sema::ConstraintEvalRAII<TemplateInstantiator> RAII(*this); in TransformLambdaExpr() local
1924 Sema::ConstraintEvalRAII<TemplateDeclInstantiator> RAII(*this); in VisitFunctionTemplateDecl() local
2573 llvm::SaveAndRestore RAII(CurrentInit, Init); in DiagnoseImmediateEscalatingReason() local2578 llvm::SaveAndRestore RAII(CurrentConstructor, Ctr); in DiagnoseImmediateEscalatingReason() local
2076 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local2084 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local
6252 ASTChildrenNotSpelledInSourceScope RAII(Finder, false); in AST_MATCHER_P()8049 ASTChildrenNotSpelledInSourceScope RAII(Finder, false); in AST_MATCHER_P()
4670 } RAII(*this); in updateImpl() local
7776 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultArgExpr() local7781 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultInitExpr() local