@@ -226,15 +226,6 @@ module Public {
226
226
none ( )
227
227
}
228
228
229
- /**
230
- * Holds if values stored inside `content` are cleared on objects passed as
231
- * arguments at position `pos` to this callable.
232
- *
233
- * TODO: Remove once all languages support `WithoutContent` tokens.
234
- */
235
- pragma [ nomagic]
236
- predicate clearsContent ( ParameterPosition pos , ContentSet content ) { none ( ) }
237
-
238
229
/**
239
230
* Holds if the summary is auto generated.
240
231
*/
@@ -328,23 +319,6 @@ module Private {
328
319
SummaryComponentStack:: singleton ( TArgumentSummaryComponent ( _) ) ) and
329
320
preservesValue = preservesValue1 .booleanAnd ( preservesValue2 )
330
321
)
331
- or
332
- exists ( ParameterPosition ppos , ContentSet cs |
333
- c .clearsContent ( ppos , cs ) and
334
- input = SummaryComponentStack:: push ( SummaryComponent:: withoutContent ( cs ) , output ) and
335
- output = SummaryComponentStack:: argument ( ppos ) and
336
- preservesValue = true
337
- )
338
- }
339
-
340
- private class MkClearStack extends RequiredSummaryComponentStack {
341
- override predicate required ( SummaryComponent head , SummaryComponentStack tail ) {
342
- exists ( SummarizedCallable sc , ParameterPosition ppos , ContentSet cs |
343
- sc .clearsContent ( ppos , cs ) and
344
- head = SummaryComponent:: withoutContent ( cs ) and
345
- tail = SummaryComponentStack:: argument ( ppos )
346
- )
347
- }
348
322
}
349
323
350
324
/**
@@ -945,8 +919,7 @@ module Private {
945
919
AccessPath inSpec , AccessPath outSpec , string kind
946
920
) {
947
921
summaryElement ( this , inSpec , outSpec , kind , true ) and
948
- not summaryElement ( this , _, _, _, false ) and
949
- not this .clearsContent ( _, _)
922
+ not summaryElement ( this , _, _, _, false )
950
923
}
951
924
952
925
private predicate relevantSummaryElement ( AccessPath inSpec , AccessPath outSpec , string kind ) {
0 commit comments