File tree Expand file tree Collapse file tree 5 files changed +30
-5
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
go/ql/lib/semmle/go/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 5 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261
261
NeutralCallable ( ) { neutralElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the neutral is auto generated.
264
+ * Holds if the neutral is auto generated.
265
265
*/
266
266
predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267
267
268
+ /**
269
+ * Holds if there exists a manual neutral that applies to `this`.
270
+ */
271
+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272
+
268
273
/**
269
274
* Holds if the neutral has provenance `provenance`.
270
275
*/
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261
261
NeutralCallable ( ) { neutralElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the neutral is auto generated.
264
+ * Holds if the neutral is auto generated.
265
265
*/
266
266
predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267
267
268
+ /**
269
+ * Holds if there exists a manual neutral that applies to `this`.
270
+ */
271
+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272
+
268
273
/**
269
274
* Holds if the neutral has provenance `provenance`.
270
275
*/
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261
261
NeutralCallable ( ) { neutralElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the neutral is auto generated.
264
+ * Holds if the neutral is auto generated.
265
265
*/
266
266
predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267
267
268
+ /**
269
+ * Holds if there exists a manual neutral that applies to `this`.
270
+ */
271
+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272
+
268
273
/**
269
274
* Holds if the neutral has provenance `provenance`.
270
275
*/
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261
261
NeutralCallable ( ) { neutralElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the neutral is auto generated.
264
+ * Holds if the neutral is auto generated.
265
265
*/
266
266
predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267
267
268
+ /**
269
+ * Holds if there exists a manual neutral that applies to `this`.
270
+ */
271
+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272
+
268
273
/**
269
274
* Holds if the neutral has provenance `provenance`.
270
275
*/
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261
261
NeutralCallable ( ) { neutralElement ( this , _) }
262
262
263
263
/**
264
- * Holds if the neutral is auto generated.
264
+ * Holds if the neutral is auto generated.
265
265
*/
266
266
predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267
267
268
+ /**
269
+ * Holds if there exists a manual neutral that applies to `this`.
270
+ */
271
+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272
+
268
273
/**
269
274
* Holds if the neutral has provenance `provenance`.
270
275
*/
You can’t perform that action at this time.
0 commit comments