File tree Expand file tree Collapse file tree 6 files changed +12
-126
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
go/ql/lib/semmle/go/dataflow/internal
java/ql/lib/semmle/code/java/dataflow/internal
python/ql/lib/semmle/python/dataflow/new/internal
ruby/ql/lib/codeql/ruby/dataflow/internal
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 6 files changed +12
-126
lines changed Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
Original file line number Diff line number Diff line change @@ -261,28 +261,9 @@ module Public {
261
261
NegativeSummarizedCallable ( ) { negativeSummaryElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the negative summary is auto generated and not manually generated .
264
+ * Holds if the negative summary is auto generated.
265
265
*/
266
- predicate isAutoGenerated ( ) {
267
- negativeSummaryElement ( this , true ) and
268
- not negativeSummaryElement ( this , false )
269
- } // ! okay to adjust this to "and not manually generated"? Will that mess up anything that currently uses this?
270
-
271
- /**
272
- * Holds if the summary is manually generated and not auto generated.
273
- */
274
- predicate isManuallyGenerated ( ) {
275
- negativeSummaryElement ( this , false ) and
276
- not negativeSummaryElement ( this , true )
277
- }
278
-
279
- /**
280
- * Holds if the summary is both auto generated and manually generated.
281
- */
282
- predicate isBothAutoAndManuallyGenerated ( ) {
283
- negativeSummaryElement ( this , true ) and
284
- negativeSummaryElement ( this , false )
285
- }
266
+ predicate isAutoGenerated ( ) { negativeSummaryElement ( this , true ) }
286
267
}
287
268
}
288
269
You can’t perform that action at this time.
0 commit comments