Luke Cartey

Results 52 issues of Luke Cartey

### Affected rules - `STR34-C` ### Description * Do not consider specifiers when considering whether a type is a `char` type - whether a type is `const`, `volatile` etc. doesn't...

Difficulty-Low
Impact-High
false positive/false negative

### Affected rules - `STR34-C` ### Description This query identifies conversions from signed `char`s to larger signed integers. This is a C rule, however it is part of the collection...

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

## Description Fixes https://github.com/github/codeql-coding-standards/issues/382 and https://github.com/github/codeql-coding-standards/issues/481. ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation - [ ] External...

## Description _Opening as draft._ ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation - [ ] External documentation...

### Affected rules - `A2-7-3` ### Description Friend functions in template classes do not detect documentation. ### Example ```cpp template class ClassG { private: int x; public: // Documentation friend...

Difficulty-Medium
Impact-Medium
user-report
false positive/false negative
Phase III

### Affected rules - `A7-1-7` ### Description Macro expansion can cause multiple expressions and statements to appear at the same location. We exclude macro expanded declarations, I think we should...

Difficulty-Low
Impact-Medium
false positive/false negative

### Affected rules - `A3-1-5` ### Description Exclude instantiated templates from this rule here: https://github.com/github/codeql-coding-standards/blob/main/cpp/common/src/codingstandards/cpp/Class.qll#L184 Also exclude compiler generated members. ### Example

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

### Affected rules - `A7-1-2` ### Description We should only report a variable in a template as a candidate for adding `constexpr` if all visible instantiations could use `constexpr`. ###...

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

## Description - Improves reporting by providing a more descriptive message of which C extensions were used. - Improves reporting by grouping results generated from a macro and reporting them...

### Affected rules - `RULE-1-2` ### Description This rule currently flags all variable length arrays, and arrays without a specified size, but which are initialized. However, various types of variable...

Difficulty-Medium
Impact-High
false positive/false negative