Home
last modified time | relevance | path

Searched refs:RAII (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp515 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
522 ASTNodeNotSpelledInSourceScope RAII(this, true); in dataTraverseNode() local
532 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
537 ASTNodeNotSpelledInSourceScope RAII(this, true); in dataTraverseNode() local
546 ASTNodeNotSpelledInSourceScope RAII( in dataTraverseNode() local
552 ASTNodeNotSpelledInSourceScope RAII(this, true); in dataTraverseNode() local
556 ASTNodeNotAsIsSourceScope RAII(this, true); in dataTraverseNode() local
646 ASTNodeNotSpelledInSourceScope RAII(this, ScopedTraversal); in matchesRecursively() local
760 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
766 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
[all …]
H A DASTMatchersInternal.cpp288 TraversalKindScope RAII(Finder->getASTContext(), in matches() local
/freebsd/contrib/lutok/
H A DREADME5 RAII to prevent resource leakage, expose C++-friendly data types, report
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument
184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp655 RevertToOldSizeRAII RAII(Path); in visitFunctionCallArguments() local
701 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByReferenceBinding() local
836 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByInitializer() local
1026 RevertToOldSizeRAII RAII(Path); in visitLocalsRetainedByInitializer() local
H A DSemaTemplateInstantiate.cpp1777 Sema::ConstraintEvalRAII<TemplateInstantiator> RAII(*this); in TransformLambdaExpr() local
H A DSemaTemplateInstantiateDecl.cpp2452 Sema::ConstraintEvalRAII<TemplateDeclInstantiator> RAII(*this); in VisitFunctionTemplateDecl() local
H A DSemaDeclCXX.cpp2660 llvm::SaveAndRestore RAII(CurrentInit, Init); in DiagnoseImmediateEscalatingReason() local
2665 llvm::SaveAndRestore RAII(CurrentConstructor, Ctr); in DiagnoseImmediateEscalatingReason() local
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp1149 struct RAII { in ExecuteAction() struct
1152 ~RAII() { Ctx.setDiagnosticHandler(std::move(PrevHandler)); } in ExecuteAction() argument
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6298 ASTChildrenNotSpelledInSourceScope RAII(Finder, false); in AST_MATCHER_P()
8120 ASTChildrenNotSpelledInSourceScope RAII(Finder, false); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1728 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local
1736 ColonProtectionRAIIObject RAII(*this); in ParsePostfixExpressionSuffix() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp4672 } RAII(*this); in updateImpl() local
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp8114 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultArgExpr() local
8119 TempVersionRAII RAII(*Info.CurrentCall); in VisitCXXDefaultInitExpr() local