Skip to content

M0-1-9: False-positive for all static_assert declarations #9

Closed
@nicolaswill

Description

@nicolaswill

Affected rules

  • M0-1-9

Description

This rule produces false-positives for the bool-constexpr of every declaration of static_assert. We can probably resolve this case by excluding all Expr that are within StaticAssert::getCondition().

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.top-25-fpsuser-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