/external/llvm-project/clang/test/SemaCXX/ |
D | decl-expr-ambiguity.cpp | 49 struct RAII { struct 50 RAII(); 51 RAII(int); 52 ~RAII(); 67 …RAII raii(); // expected-warning {{function declaration}} expected-note {{remove parentheses to de… in emptyParens() 80 …RAII(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/ |
D | S.cpp | 1 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/ |
D | objc-live-crash.mm | 15 struct RAII { struct 19 RAII(Blk blk): blk(blk) {} argument 20 ~RAII() { blk(); } 24 RAII raii(^{}); argument
|
D | live-stmts.mm | 15 struct RAII { struct 19 RAII(Blk blk): blk(blk) {} argument 31 ~RAII() { blk(); } 45 RAII raii(^{}); argument
|
/external/clang/test/SemaCXX/ |
D | decl-expr-ambiguity.cpp | 49 struct RAII { struct 50 RAII(); 51 ~RAII(); 60 …RAII raii(); // expected-warning {{function declaration}} expected-note {{remove parentheses to de… in emptyParens()
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-unused-raii.rst | 6 Finds temporaries that look like RAII objects. 25 - Ignore types with trivial destructors. They are very unlikely to be RAII
|
D | cppcoreguidelines-no-malloc.rst | 8 of an appropriate RAII object. 14 management isn't easily transformed automatically into RAII.
|
/external/rust/crates/scopeguard/ |
D | METADATA | 2 description: "A RAII scope guard that will run a given closure when it goes out of scope, even if t…
|
D | Cargo.toml.orig | 11 A RAII scope guard that will run a given closure when it goes out of scope,
|
D | Cargo.toml | 17 description = "A RAII scope guard that will run a given closure when it goes out of scope,\neven if…
|
D | README.rst | 5 Rust crate for a convenient RAII scope guard that will run a given closure when
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousMissingCommaCheck.cpp | 26 TraversalKindScope RAII(*Ctx, ast_type_traits::TK_AsIs); in isConcatenatedLiteralsOnPurpose() local
|
/external/llvm-project/clang/include/clang/Parse/ |
D | RAIIObjectsForParser.h | 182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument 184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec() argument 184 ParsingRAII(P, RAII) {} in ParsingDeclSpec()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | UpgradeDurationConversionsCheck.cpp | 123 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 517 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/ |
D | UnnecessaryCopyInitialization.cpp | 105 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
|
D | UnnecessaryValueParamCheck.cpp | 98 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ExprSequence.cpp | 32 TraversalKindScope RAII(*Context, ast_type_traits::TK_AsIs); in getParentStmts() local
|
/external/ruy/ruy/profiler/ |
D | README.md | 26 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/ |
D | MagicNumbersCheck.cpp | 130 TraversalKindScope RAII(*Result.Context, ast_type_traits::TK_AsIs); in check() local
|
D | ImplicitBoolConversionCheck.cpp | 225 TraversalKindScope RAII(Context, ast_type_traits::TK_AsIs); in isCastAllowedInCondition() local
|
/external/rust/crates/parking_lot/ |
D | README.md | 61 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/ |
D | Diagnostics.md | 189 `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/ |
D | docs.rst | 140 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
|