Skip to content

Commit 3f412f5

Browse files
authored
Refactor comments in NonStaticMemberNotInitBeforeUse.ql
Removed redundant comment about aggregate validation at construction time.
1 parent 191c326 commit 3f412f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp/misra/src/rules/RULE-15-1-4/NonStaticMemberNotInitBeforeUse.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ private predicate needsInitialization(Type t) {
3232
t instanceof RelevantAggregate
3333
}
3434

35-
/**
36-
* An aggregate must be validated at construction time if it has a field that needs initialization.
3735
/**
3836
* An aggregate that must be validated at construction time.
3937
* For example, `Agg` must be validated at construction time as it includes field `f1` that needs initialization.

0 commit comments

Comments
 (0)