Home
last modified time | relevance | path

Searched defs:RAII (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp512 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
519 ASTNodeNotSpelledInSourceScope RAII(this, true); in dataTraverseNode() local
529 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
534 ASTNodeNotSpelledInSourceScope RAII(this, true); in dataTraverseNode() local
543 ASTNodeNotSpelledInSourceScope RAII( in dataTraverseNode() local
553 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
747 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
753 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
759 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
1019 CurMatchRAII RAII(*this, MP.second, Node); in matchWithoutFilter() local
[all …]
H A DASTMatchersInternal.cpp289 TraversalKindScope RAII(Finder->getASTContext(), in matches() local
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenAction.cpp1209 struct RAII { in ExecuteAction() struct
1210 LLVMContext &Ctx; in ExecuteAction()
1211 std::unique_ptr<DiagnosticHandler> PrevHandler = Ctx.getDiagnosticHandler(); in ExecuteAction()
1212 ~RAII() { Ctx.setDiagnosticHandler(std::move(PrevHandler)); } in ExecuteAction()
/openbsd/gnu/llvm/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec()
/openbsd/gnu/llvm/llvm/tools/llvm-rc/
H A DResourceFileWriter.cpp477 ContextKeeper RAII(this); in visitStringTableResource() local
563 ContextKeeper RAII(this); in writeResource() local
1290 ContextKeeper RAII(this); in dumpAllStringTables() local
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp1973 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp7462 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByReferenceBinding() local
7590 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByInitializer() local
H A DSemaTemplateInstantiate.cpp1338 Sema::ConstraintEvalRAII<TemplateInstantiator> RAII(*this); in TransformLambdaExpr() local
H A DSemaTemplateInstantiateDecl.cpp1841 Sema::ConstraintEvalRAII<TemplateDeclInstantiator> RAII(*this); in VisitFunctionTemplateDecl() local
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp7464 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultArgExpr() local
7469 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultInitExpr() local