Skip to content

Commit 4107e35

Browse files
committed
C++: Add qldoc to NoThrowType.
1 parent 71a860a commit 4107e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/Security/CWE/CWE-570/IncorrectAllocationErrorHandling.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ predicate exprMayThrow(Expr e) {
153153
)
154154
}
155155

156+
/** The `std::nothrow_t` class and its `bsl` variant. */
156157
class NoThrowType extends Struct {
157158
NoThrowType() { this.hasGlobalOrStdOrBslName("nothrow_t") }
158159
}

0 commit comments

Comments
 (0)