Closed
Description
Affected rules
M0-1-3
Description
Exclude variables from uninstantiated templates and compiler generated variables from this query.
Example
template <bool... Args>
extern constexpr bool all_of_v = true;
template <bool B1, bool... Args>
extern constexpr bool all_of_v<B1, Args...> = B1 && all_of_v<Args...>;
void test() {
all_of_v<true,true,true>;
}
Metadata
Metadata
Assignees
Labels
A false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.Issue reported by an end user of CodeQL Coding StandardsIssue reported by an end user of CodeQL Coding Standards
Type
Projects
Status
Done