Skip to content

EXP52-CPP: Exclude uses of operators with unevaluated operands in already unevaluated contexts #369

Open
@lcartey

Description

@lcartey

Affected rules

  • EXP52-CPP

Description

Exclude uses of operators with unevaluated operands where they are already in unevaluated contexts, as the scope for confusion is less.

Example

template<typename T>
void foo(T t) noexcept(noexcept(some_function(t))) {
  some_function(t);
}

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-HighStardard-CERT-C++false 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

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions