Searched defs:RAII (Results 1 – 10 of 10) sorted by relevance
/openbsd/gnu/llvm/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 512 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 D | ASTMatchersInternal.cpp | 289 TraversalKindScope RAII(Finder->getASTContext(), in matches() local
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 1209 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 D | RAIIObjectsForParser.h | 182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec()
|
/openbsd/gnu/llvm/llvm/tools/llvm-rc/ |
H A D | ResourceFileWriter.cpp | 477 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 D | ParseExpr.cpp | 1973 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaInit.cpp | 7462 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByReferenceBinding() local 7590 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByInitializer() local
|
H A D | SemaTemplateInstantiate.cpp | 1338 Sema::ConstraintEvalRAII<TemplateInstantiator> RAII(*this); in TransformLambdaExpr() local
|
H A D | SemaTemplateInstantiateDecl.cpp | 1841 Sema::ConstraintEvalRAII<TemplateDeclInstantiator> RAII(*this); in VisitFunctionTemplateDecl() local
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | ExprConstant.cpp | 7464 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultArgExpr() local 7469 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultInitExpr() local
|