@@ -161,8 +161,10 @@ class Content extends TContent {
161
161
* For more information, see
162
162
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
163
163
*/
164
- predicate hasLocationInfo ( string path , int sl , int sc , int el , int ec ) {
165
- path = "" and sl = 0 and sc = 0 and el = 0 and ec = 0
164
+ predicate hasLocationInfo (
165
+ string filepath , int startline , int startcolumn , int endline , int endcolumn
166
+ ) {
167
+ filepath = "" and startline = 0 and startcolumn = 0 and endline = 0 and endcolumn = 0
166
168
}
167
169
}
168
170
@@ -254,8 +256,10 @@ class ContentSet instanceof Content {
254
256
* For more information, see
255
257
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
256
258
*/
257
- predicate hasLocationInfo ( string path , int sl , int sc , int el , int ec ) {
258
- super .hasLocationInfo ( path , sl , sc , el , ec )
259
+ predicate hasLocationInfo (
260
+ string filepath , int startline , int startcolumn , int endline , int endcolumn
261
+ ) {
262
+ super .hasLocationInfo ( filepath , startline , startcolumn , endline , endcolumn )
259
263
}
260
264
}
261
265
0 commit comments