Skip to content

Commit 9dc6c1f

Browse files
authored
Merge pull request #834 from jketema/spec
Update A2-10-4 after QL changes
2 parents 17e2a1e + d9a41f0 commit 9dc6c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/autosar/src/rules/A2-10-4/IdentifierNameOfStaticNonMemberObjectReusedInNamespace.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CandidateVariable extends Variable {
2222
isStatic() and
2323
not this instanceof MemberVariable and
2424
//exclude partially specialized template variables
25-
not exists(TemplateVariable v | this = v.getAnInstantiation())
25+
not this.isSpecialization()
2626
}
2727
}
2828

0 commit comments

Comments
 (0)