Skip to content

A3-1-5: Queries follow interpretation of rational and examples that communicate incorrect intentions #481

Closed
@rvermeulen

Description

@rvermeulen

Affected rules

  • cpp/autosar/non-trivial-non-template-function-defined-inside-class-definition
  • cpp/autosar/trivial-or-template-function-defined-outside-class-definition

Description

See discussion for the two interpretations and the intend of MISRA.

This requires removing of trivial-or-template-function-defined-outside-class-definition and solely look at the function definitions that are part of a class definition and ensure they satisfies the conditions set forth in the rule.

Metadata

Metadata

Assignees

Labels

Difficulty-MediumA false positive or false negative report which is expected to take 1-5 days effort to addressImpact-HighStandard-AUTOSARfalse 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