Skip to content

Commit 96977d0

Browse files
Update exclusion check to Declarations6
1 parent 7d6299d commit 96977d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/misra/src/rules/RULE-10-1-1/PointerOrRefParamNotConst.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class NonConstParam extends PointerLikeParam {
258258

259259
from NonConstParam param, Type innerType
260260
where
261-
not isExcluded(param, Declarations3Package::pointerOrRefParamNotConstQuery()) and
261+
not isExcluded(param, Declarations6Package::pointerOrRefParamNotConstQuery()) and
262262
innerType = param.getPointerLikeType().getInnerType() and
263263
not param.isAffectedByMacro() and
264264
// Exclude functions with copied parameters which leads to wrong results.

0 commit comments

Comments
 (0)