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 {
261261 NeutralCallable ( ) { neutralElement ( this , _) }
262262
263263 /**
264- * Holds if the neutral is auto generated.
264+ * Holds if the neutral is auto generated.
265265 */
266266 predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267267
268+ /**
269+ * Holds if there exists a manual neutral that applies to `this`.
270+ */
271+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272+
268273 /**
269274 * Holds if the neutral has provenance `provenance`.
270275 */
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261261 NeutralCallable ( ) { neutralElement ( this , _) }
262262
263263 /**
264- * Holds if the neutral is auto generated.
264+ * Holds if the neutral is auto generated.
265265 */
266266 predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267267
268+ /**
269+ * Holds if there exists a manual neutral that applies to `this`.
270+ */
271+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272+
268273 /**
269274 * Holds if the neutral has provenance `provenance`.
270275 */
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261261 NeutralCallable ( ) { neutralElement ( this , _) }
262262
263263 /**
264- * Holds if the neutral is auto generated.
264+ * Holds if the neutral is auto generated.
265265 */
266266 predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267267
268+ /**
269+ * Holds if there exists a manual neutral that applies to `this`.
270+ */
271+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272+
268273 /**
269274 * Holds if the neutral has provenance `provenance`.
270275 */
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261261 NeutralCallable ( ) { neutralElement ( this , _) }
262262
263263 /**
264- * Holds if the neutral is auto generated.
264+ * Holds if the neutral is auto generated.
265265 */
266266 predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267267
268+ /**
269+ * Holds if there exists a manual neutral that applies to `this`.
270+ */
271+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272+
268273 /**
269274 * Holds if the neutral has provenance `provenance`.
270275 */
Original file line number Diff line number Diff line change @@ -261,10 +261,15 @@ module Public {
261261 NeutralCallable ( ) { neutralElement ( this , _) }
262262
263263 /**
264- * Holds if the neutral is auto generated.
264+ * Holds if the neutral is auto generated.
265265 */
266266 predicate isAutoGenerated ( ) { neutralElement ( this , "generated" ) }
267267
268+ /**
269+ * Holds if there exists a manual neutral that applies to `this`.
270+ */
271+ final predicate isManual ( ) { this .hasProvenance ( "manual" ) }
272+
268273 /**
269274 * Holds if the neutral has provenance `provenance`.
270275 */
You can’t perform that action at this time.
0 commit comments