We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f12688 commit eb1472fCopy full SHA for eb1472f
cpp/misra/src/rules/RULE-10-1-1/PointerOrRefParamNotConst.ql
@@ -37,10 +37,7 @@ predicate isInTemplateScope(Function f) {
37
class PointerLikeParam extends Parameter {
38
PointerLikeType pointerLikeType;
39
40
- PointerLikeParam() {
41
- pointerLikeType = this.getType() and
42
- not pointerLikeType.pointsToConst()
43
- }
+ PointerLikeParam() { pointerLikeType = this.getType() }
44
45
/**
46
* Gets the pointer like type of this parameter.
0 commit comments