/llvm-project/clang/test/Import/expr-with-cleanups/Inputs/ |
H A D | S.cpp | 1 struct RAII { struct 3 RAII() { i++; } in RAII() argument 4 ~RAII() { i--; } in ~RAII() argument
|
/llvm-project/clang/test/Analysis/ |
H A D | live-stmts.mm | 15 struct RAII { struct 19 RAII(Blk blk): blk(blk) {} argument 45 RAII raii(^{}); argument
|
H A D | objc-live-crash.mm | 15 struct RAII { struct 19 RAII(Blk blk): blk(blk) {} argument 24 RAII raii(^{}); argument
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | simplify-boolean-expr-cxx17.cpp | 2 struct RAII {}; struct
|
/llvm-project/clang/test/SemaCXX/ |
H A D | static-assert-cxx26.cpp | 137 struct RAII { struct 147 constexpr ~RAII() { in ~RAII() argument
|
H A D | decl-expr-ambiguity.cpp | 49 struct RAII { struct
|
/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 514 ASTNodeNotAsIsSourceScope RAII(this, true); dataTraverseNode() local 521 ASTNodeNotSpelledInSourceScope RAII(this, true); dataTraverseNode() local 531 ASTNodeNotAsIsSourceScope RAII(this, true); dataTraverseNode() local 536 ASTNodeNotSpelledInSourceScope RAII(this, true); dataTraverseNode() local 545 ASTNodeNotSpelledInSourceScope RAII( dataTraverseNode() local 551 ASTNodeNotSpelledInSourceScope RAII(this, true); dataTraverseNode() local 555 ASTNodeNotAsIsSourceScope RAII(this, true); dataTraverseNode() local 644 ASTNodeNotSpelledInSourceScope RAII(this, ScopedTraversal); matchesRecursively() local 758 ASTNodeNotSpelledInSourceScope RAII(this, true); TraverseTemplateInstantiations() local 764 ASTNodeNotSpelledInSourceScope RAII(this, true); TraverseTemplateInstantiations() local 770 ASTNodeNotSpelledInSourceScope RAII(this, true); TraverseTemplateInstantiations() local 1030 CurMatchRAII RAII(*this, MP.second, Node); matchWithoutFilter() local 1057 TraversalKindScope RAII(getASTContext(), MP.first.getTraversalKind()); matchWithFilter() local 1063 CurMatchRAII RAII(*this, MP.second, DynNode); matchWithFilter() local 1269 TraversalKindScope RAII(*Context, Callback->getCheckTraversalKind()); visitMatch() local 1481 ASTNodeNotSpelledInSourceScope RAII(this, ScopedTraversal); TraverseStmt() local [all...] |
H A D | ASTMatchersInternal.cpp | 289 TraversalKindScope RAII(Finder->getASTContext(), matches() local
|
/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
H A D | UpgradeDurationConversionsCheck.cpp | 120 TraversalKindScope RAII(*Result.Context, TK_AsIs); in check() local
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | SuspiciousMissingCommaCheck.cpp | 24 TraversalKindScope RAII(*Ctx, TK_AsIs); in isConcatenatedLiteralsOnPurpose() local
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | UnnecessaryValueParamCheck.cpp | 86 TraversalKindScope RAII(*Result.Context, TK_AsIs); in check() local
|
H A D | UnnecessaryCopyInitialization.cpp | 294 TraversalKindScope RAII(*Result.Context, TK_AsIs); check() local
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 1182 struct RAII { ExecuteAction() struct 1183 CtxCodeGenAction::ExecuteAction::RAII ExecuteAction() argument 1184 PrevHandlerCodeGenAction::ExecuteAction::RAII ExecuteAction() argument 1185 ~RAIICodeGenAction::ExecuteAction::RAII ExecuteAction() argument
|
/llvm-project/clang-tools-extra/clang-tidy/readability/ |
H A D | MagicNumbersCheck.cpp | 149 TraversalKindScope RAII(*Result.Context, TK_AsIs); in check() local
|
H A D | ImplicitBoolConversionCheck.cpp | 221 TraversalKindScope RAII(Context, TK_AsIs); isCastAllowedInCondition() local
|
H A D | SimplifyBooleanExprCheck.cpp | 580 llvm::SaveAndRestore RAII(IsProcessing, true); in TraverseUnaryOperator() local
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | ExprSequence.cpp | 32 TraversalKindScope RAII(*Context, TK_AsIs); in getParentStmts() local
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | MakeSmartPtrCheck.cpp | 265 TraversalKindScope RAII(*Ctx, TK_AsIs); in replaceNew() local
|
H A D | LoopConvertCheck.cpp | 1058 TraversalKindScope RAII(*Context, TK_AsIs); in check() local
|
/llvm-project/clang/lib/Sema/ |
H A D | CheckExprLifetime.cpp | 490 RevertToOldSizeRAII RAII(Path); visitLocalsRetainedByReferenceBinding() local 626 RevertToOldSizeRAII RAII(Path); visitLocalsRetainedByInitializer() local
|
/llvm-project/clang/include/clang/Parse/ |
H A D | RAIIObjectsForParser.h | 182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument [all...] |
/llvm-project/llvm/tools/llvm-rc/ |
H A D | ResourceFileWriter.cpp | 481 ContextKeeper RAII(this); in visitStringTableResource() local 572 ContextKeeper RAII(this); in writeResource() local 1352 ContextKeeper RAII(this); in dumpAllStringTables() local
|
/llvm-project/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 2054 ColonProtectionRAIIObject RAII(*this); ParsePostfixExpressionSuffix() local 2062 ColonProtectionRAIIObject RAII(*this); ParsePostfixExpressionSuffix() local
|
/llvm-project/clang/unittests/Analysis/ |
H A D | ExprMutationAnalyzerTest.cpp | 56 TraversalKindScope RAII(AST->getASTContext(), TK_AsIs); isMutated() local 63 TraversalKindScope RAII(AST->getASTContext(), TK_AsIs); isDeclMutated() local
|
/llvm-project/clang/unittests/Tooling/ |
H A D | RangeSelectorTest.cpp | 49 TraversalKindScope RAII(Context, TK_AsIs); in matchCode() local
|