Skip to content

A0-1-3: Missing some function use cases #121

@lcartey

Description

@lcartey

Affected rules

  • A0-1-3

Description

Missing the following function use cases:

  • The address of a function is taken
  • The operand of an expression in an unevaluated context
  • Functions marked with [[maybe_unused]]
  • Explicitly deleted functions e.g. =delete
  • Use of any overload of a function in an overload set constitute a use of all members of the set. An overload set is a set of functions with the same name that differ in the number, type and/or qualifiers of their parameters.

Example

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding Standards

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions