Open
Description
Affected rules
A2-10-5
Description
Variable template defined with an specialization is alerted as identifier reuse.
Example
template<typename T, typename S>
extern constexpr bool x = false;
template<typename T>
extern constexpr bool x<T, int> = true;
Query IdentifierNameOfANonMemberObjectWithExternalOrInternalLinkageIsReused.ql
warns about x
in lines 2 and 5.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Triaged