Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/test/SemaCXX/
Ddecl-expr-ambiguity.cpp49 struct RAII { struct
50 RAII();
51 RAII(int);
52 ~RAII();
67RAII raii(); // expected-warning {{function declaration}} expected-note {{remove parentheses to de… in emptyParens()
80RAII(n); // expected-warning {{parentheses were disambiguated as redundant parentheses around decl… in nonEmptyParens()
85 RAII(undeclared1); in nonEmptyParens()
88 RAII(undeclared2); // expected-warning {{redundant parentheses surrounding declarator}} in nonEmptyParens()
/external/llvm-project/clang/test/Import/expr-with-cleanups/Inputs/
DS.cpp1 struct RAII { struct
3 RAII() { i++; } in RAII() argument
4 ~RAII() { i--; } in ~RAII() argument
7 RAII(); in f()
/external/llvm-project/clang/test/Analysis/
Dobjc-live-crash.mm15 struct RAII { struct
19 RAII(Blk blk): blk(blk) {} argument
20 ~RAII() { blk(); }
24 RAII raii(^{}); argument
Dlive-stmts.mm15 struct RAII { struct
19 RAII(Blk blk): blk(blk) {} argument
31 ~RAII() { blk(); }
45 RAII raii(^{}); argument
/external/clang/test/SemaCXX/
Ddecl-expr-ambiguity.cpp49 struct RAII { struct
50 RAII();
51 ~RAII();
60RAII raii(); // expected-warning {{function declaration}} expected-note {{remove parentheses to de… in emptyParens()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-unused-raii.rst6 Finds temporaries that look like RAII objects.
25 - Ignore types with trivial destructors. They are very unlikely to be RAII
Dcppcoreguidelines-no-malloc.rst8 of an appropriate RAII object.
14 management isn't easily transformed automatically into RAII.
/external/rust/crates/scopeguard/
DMETADATA2 description: "A RAII scope guard that will run a given closure when it goes out of scope, even if t…
DCargo.toml.orig11 A RAII scope guard that will run a given closure when it goes out of scope,
DCargo.toml17 description = "A RAII scope guard that will run a given closure when it goes out of scope,\neven if…
DREADME.rst5 Rust crate for a convenient RAII scope guard that will run a given closure when
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousMissingCommaCheck.cpp26 TraversalKindScope RAII(*Ctx, ast_type_traits::TK_AsIs); in isConcatenatedLiteralsOnPurpose() local
/external/llvm-project/clang/include/clang/Parse/
DRAIIObjectsForParser.h182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument
184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument
184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DUpgradeDurationConversionsCheck.cpp123 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp517 ASTNodeNotSpelledInSourceScope RAII(this, ScopedTraversal); in matchesRecursively() local
606 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
612 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
618 ASTNodeNotSpelledInSourceScope RAII(this, true); in TraverseTemplateInstantiations() local
1103 ASTNodeNotSpelledInSourceScope RAII(this, ScopedTraversal); in TraverseStmt() local
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryCopyInitialization.cpp105 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
DUnnecessaryValueParamCheck.cpp98 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExprSequence.cpp32 TraversalKindScope RAII(*Context, ast_type_traits::TK_AsIs); in getParentStmts() local
/external/ruy/ruy/profiler/
DREADME.md26 Code is instrumented by constructing `ScopeLabel` objects. These are RAII
77 object, also a RAII helper. It will start the profiler on construction, and on
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMagicNumbersCheck.cpp130 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
DImplicitBoolConversionCheck.cpp225 TraversalKindScope RAII(Context, ast_type_traits::TK_AsIs); in isCastAllowedInCondition() local
/external/rust/crates/parking_lot/
DREADME.md61 12. `Mutex` and `RwLock` allow raw unlocking without a RAII guard object.
62 13. `Mutex<()>` and `RwLock<()>` allow raw locking without a RAII guard
/external/llvm-project/mlir/docs/
DDiagnostics.md189 `InFlightDiagnostic`, an RAII wrapper around a diagnostic that is set to be
260 This diagnostic handler is a simple RAII class that registers and unregisters a
274 // Set the handler that should be RAII managed.
/external/pigweed/pw_sync/
Ddocs.rst140 Alternatively you can use C++'s RAII helpers to ensure you always unlock.
342 Alternatively you can use C++'s RAII helpers to ensure you always unlock.
545 Alternatively you can use C++'s RAII helpers to ensure you always unlock.
803 As an example we've annotated a Lock and a RAII ScopedLocker object for you, see
915 Documents if a class does RAII locking. The name is used in the warning

12