Luke Cartey

Results 52 issues of Luke Cartey

### Affected rules - `CON54-CPP` ### Description The [`std::condition_variable::wait`](https://en.cppreference.com/w/cpp/thread/condition_variable/wait), [`std::condition_variable::wait_until`](https://en.cppreference.com/w/cpp/thread/condition_variable/wait_until) and [`std::condition_variable::wait_for`](https://en.cppreference.com/w/cpp/thread/condition_variable/wait_for) functions include an overload with a `stop_waiting` predicate parameter. If this overload is used, spurious waking is avoided...

Difficulty-Low
Impact-Low
user-report
false positive/false negative

### Affected rules - `A7-1-2` ### Description A logging function cannot be marked as `constexpr` because it is intended to have a side-effect (writing a log entry). In certain cases...

Impact-Medium
user-report
false positive/false negative
awaiting-user-feedback
top-25-fps

### Affected rules - `RULE-11-3` ### Description The rule states that "a cast shall not be performed between a pointer to object type and a pointer to a different object...

Difficulty-Low
Impact-High
user-report
false positive/false negative

### Affected rules - `A15-4-2` ### Description [Copy elision](https://en.cppreference.com/w/cpp/language/copy_elision) allows the compiler to omit copy and move construction in certain circumstances. Some of these circumstances are considered "mandatory" - i.e....

Difficulty-Low
Impact-High
user-report
false positive/false negative
top-25-fps

### Affected rules - `DCL51-CPP` ### Description The rule currently enforces that function names defined in standard library headers are not reused in any namespace. However, a careful re-reading of...

Difficulty-High
Impact-High
user-report
false positive/false negative

### Affected rules - `A18-5-8` ### Description _Copy elision_ allows a call to a copy or move constructor to be omitted in certain cases where it is safe to do...

Difficulty-Low
Impact-Medium
user-report
false positive/false negative

## Description This fixes a minor typo in `A7-2-1` (spurious "_+" in some cases). ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) -...

### Affected rules - `A8-5-2` ### Description The rule `A8-5-2` (use braced initialization) conflicts with rule `A8-5-3` (A variable of type auto shall not be initialized using {} or ={}...

Difficulty-Low
Impact-Low
user-report
false positive/false negative

### Affected rules - `A5-2-6` ### Description ~~It's not well defined by the standard, but I think it's reasonable to exclude `->` and `.` when considering whether an operand of...

Difficulty-Low
Impact-High
user-report
false positive/false negative
top-25-fps

### Affected rules - `A8-4-9` ### Description We have user reports of this query reporting read and written parameters as "not used". We do not have a reproduction case, but...

Difficulty-High
Impact-Low
user-report
false positive/false negative