Skip to content

Commit 1763386

Browse files
committed
Forgot to save one of the files.
1 parent 0e1fd22 commit 1763386

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/code-quality/c26444.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ An unnamed variable declaration will create a temporary object that is discarded
1818
## Remarks
1919

2020
- This rule detects types with a hand-written destructor or a compiler-generated destructor that transitively calls a hand-written destructor.
21+
- This rule can flag code that invokes a nontrivial constructor of a RAII type.
2122
- The logic skips temporaries if they're used in higher-level expressions. One example is temporaries that are passed as arguments or used to invoke a function.
2223

2324
Code analysis name: `NO_UNNAMED_RAII_OBJECTS`

0 commit comments

Comments
 (0)