A15-4-4
: Functions that allocate are considered non-throwing
#662
Labels
Difficulty-Medium
A false positive or false negative report which is expected to take 1-5 days effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Standard-AUTOSAR
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
Description
A15-4-4/MissingNoExcept.ql
flags functions which are notnoexcept
when no exception is explicitly thrown by them (or the functions they call). Unfortunately, this doesn't take into a account the fact thatstd::bad_alloc
can be implicitly thrown by functions which allocate.Example
The text was updated successfully, but these errors were encountered: