Skip to content

M5-0-2: Missing support for inadequate use of parenthesis #152

Closed
@lcartey

Description

@lcartey

Affected rules

  • M5-0-2

Description

Our current query identifies gratuitous parentheses i.e. parentheses that are not strictly required. However, the rule is actually "Limited dependence should be placed on C++ operator precedence rules in expressions." In other words, we should be identifying cases where a lack of parentheses causes ambiguity.

Metadata

Metadata

Assignees

Labels

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