Skip to content

Commit 3a270ab

Browse files
committed
Fix hasLocationInfo URL reference
Port of #6775
1 parent 5219b1a commit 3a270ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ql/lib/codeql/Locations.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import files.FileSystem
66
* A location as given by a file, a start line, a start column,
77
* an end line, and an end column.
88
*
9-
* For more information about locations see [LGTM locations](https://lgtm.com/help/ql/locations).
9+
* For more information about locations see [LGTM locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
1010
*/
1111
class Location extends @location {
1212
/** Gets the file for this location. */
@@ -40,7 +40,7 @@ class Location extends @location {
4040
* The location spans column `startcolumn` of line `startline` to
4141
* column `endcolumn` of line `endline` in file `filepath`.
4242
* For more information, see
43-
* [LGTM locations](https://lgtm.com/help/ql/locations).
43+
* [LGTM locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
4444
*/
4545
predicate hasLocationInfo(
4646
string filepath, int startline, int startcolumn, int endline, int endcolumn

ql/lib/codeql/files/FileSystem.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ abstract class Container extends @container {
141141
/**
142142
* Gets a URL representing the location of this container.
143143
*
144-
* For more information see https://lgtm.com/help/ql/locations#providing-urls.
144+
* For more information see https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/#providing-urls.
145145
*/
146146
abstract string getURL();
147147

ql/lib/codeql/ruby/printAst.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class PrintAstNode extends TPrintNode {
8585
* Holds if this node is at the specified location. The location spans column
8686
* `startcolumn` of line `startline` to column `endcolumn` of line `endline`
8787
* in file `filepath`. For more information, see
88-
* [LGTM locations](https://lgtm.com/help/ql/locations).
88+
* [LGTM locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
8989
*/
9090
predicate hasLocationInfo(
9191
string filepath, int startline, int startcolumn, int endline, int endcolumn

0 commit comments

Comments
 (0)