Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A7-1-2: Do not report functions as possibleconstexpr #843

Closed
Assignees
lcartey
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Highfalse positive/false negativeAn issue related to observed false positives or false negatives.
@lcartey

Description

@lcartey

Affected rules

  • A7-1-2

Description

A careful re-reading of the rule, and consideration of the MISRA forum posts (https://forum.misra.org.uk/showthread.php?tid=1657) indicates that we should not be reporting functions for this rule.

Example

voidexample_function(int x) {// ignore, rule only applies to valuesreturn x;}

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Highfalse positive/false negativeAn issue related to observed false positives or false negatives.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp