We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d6299d commit 96977d0Copy full SHA for 96977d0
cpp/misra/src/rules/RULE-10-1-1/PointerOrRefParamNotConst.ql
@@ -258,7 +258,7 @@ class NonConstParam extends PointerLikeParam {
258
259
from NonConstParam param, Type innerType
260
where
261
- not isExcluded(param, Declarations3Package::pointerOrRefParamNotConstQuery()) and
+ not isExcluded(param, Declarations6Package::pointerOrRefParamNotConstQuery()) and
262
innerType = param.getPointerLikeType().getInnerType() and
263
not param.isAffectedByMacro() and
264
// Exclude functions with copied parameters which leads to wrong results.
0 commit comments