Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 8deaeb4

Browse files
committed
Fix hasLocationInfo URL reference
Port of github/codeql#6775
1 parent 8b36822 commit 8deaeb4

13 files changed

+18
-18
lines changed

Diff for: ql/src/AlertSuppression.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class SuppressionScope extends @locatable {
6060
* The location spans column `startcolumn` of line `startline` to
6161
* column `endcolumn` of line `endline` in file `filepath`.
6262
* For more information, see
63-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
63+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
6464
*/
6565
predicate hasLocationInfo(
6666
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/Diagnostics/DiagnosticsReporting.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private class Diagnostic extends @diagnostic {
2424
* The location spans column `startcolumn` of line `startline` to
2525
* column `endcolumn` of line `endline` in file `filepath`.
2626
* For more information, see
27-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
27+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
2828
*/
2929
predicate hasLocationInfo(string path, int sl, int sc, int el, int ec) {
3030
exists(Location l | diagnostics(this, _, _, _, _, l) | l.hasLocationInfo(path, sl, sc, el, ec))

Diff for: ql/src/semmle/go/StringOps.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ module StringOps {
432432
* The location spans column `startcolumn` of line `startline` to
433433
* column `endcolumn` of line `endline` in file `filepath`.
434434
* For more information, see
435-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
435+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
436436
*/
437437
predicate hasLocationInfo(
438438
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/VariableWithFields.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class VariableWithFields extends TVariableWithFields {
188188
* The location spans column `startcolumn` of line `startline` to
189189
* column `endcolumn` of line `endline` in file `filepath`.
190190
* For more information, see
191-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
191+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
192192
*/
193193
predicate hasLocationInfo(
194194
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/controlflow/BasicBlocks.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class BasicBlock extends TControlFlowNode {
119119
* The location spans column `startcolumn` of line `startline` to
120120
* column `endcolumn` of line `endline` in file `filepath`.
121121
* For more information, see
122-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
122+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
123123
*/
124124
predicate hasLocationInfo(
125125
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/controlflow/ControlFlowGraph.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module ControlFlow {
8989
* The location spans column `startcolumn` of line `startline` to
9090
* column `endcolumn` of line `endline` in file `filepath`.
9191
* For more information, see
92-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
92+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
9393
*/
9494
predicate hasLocationInfo(
9595
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/controlflow/IR.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ module IR {
14001400
* The location spans column `startcolumn` of line `startline` to
14011401
* column `endcolumn` of line `endline` in file `filepath`.
14021402
* For more information, see
1403-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
1403+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
14041404
*/
14051405
predicate hasLocationInfo(
14061406
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/dataflow/GlobalValueNumbering.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class GVN extends GVNBase {
314314
* The location spans column `startcolumn` of line `startline` to
315315
* column `endcolumn` of line `endline` in file `filepath`.
316316
* For more information, see
317-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
317+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
318318
*/
319319
predicate hasLocationInfo(
320320
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/dataflow/SSA.qll

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class SsaVariable extends TSsaDefinition {
9090
* The location spans column `startcolumn` of line `startline` to
9191
* column `endcolumn` of line `endline` in file `filepath`.
9292
* For more information, see
93-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
93+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
9494
*/
9595
predicate hasLocationInfo(
9696
string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -149,7 +149,7 @@ class SsaDefinition extends TSsaDefinition {
149149
* The location spans column `startcolumn` of line `startline` to
150150
* column `endcolumn` of line `endline` in file `filepath`.
151151
* For more information, see
152-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
152+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
153153
*/
154154
abstract predicate hasLocationInfo(
155155
string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -388,7 +388,7 @@ class SsaWithFields extends TSsaWithFields {
388388
* The location spans column `startcolumn` of line `startline` to
389389
* column `endcolumn` of line `endline` in file `filepath`.
390390
* For more information, see
391-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
391+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
392392
*/
393393
predicate hasLocationInfo(
394394
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/dataflow/internal/DataFlowImpl.qll

+2-2
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,7 @@ class PathNode extends TPathNode {
29552955
* The location spans column `startcolumn` of line `startline` to
29562956
* column `endcolumn` of line `endline` in file `filepath`.
29572957
* For more information, see
2958-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
2958+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
29592959
*/
29602960
predicate hasLocationInfo(
29612961
string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -3641,7 +3641,7 @@ private module FlowExploration {
36413641
* The location spans column `startcolumn` of line `startline` to
36423642
* column `endcolumn` of line `endline` in file `filepath`.
36433643
* For more information, see
3644-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
3644+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
36453645
*/
36463646
predicate hasLocationInfo(
36473647
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/dataflow/internal/DataFlowImpl2.qll

+2-2
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,7 @@ class PathNode extends TPathNode {
29552955
* The location spans column `startcolumn` of line `startline` to
29562956
* column `endcolumn` of line `endline` in file `filepath`.
29572957
* For more information, see
2958-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
2958+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
29592959
*/
29602960
predicate hasLocationInfo(
29612961
string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -3641,7 +3641,7 @@ private module FlowExploration {
36413641
* The location spans column `startcolumn` of line `startline` to
36423642
* column `endcolumn` of line `endline` in file `filepath`.
36433643
* For more information, see
3644-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
3644+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
36453645
*/
36463646
predicate hasLocationInfo(
36473647
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/dataflow/internal/DataFlowUtil.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Node extends TNode {
5252
* The location spans column `startcolumn` of line `startline` to
5353
* column `endcolumn` of line `endline` in file `filepath`.
5454
* For more information, see
55-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
55+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
5656
*/
5757
predicate hasLocationInfo(
5858
string filepath, int startline, int startcolumn, int endline, int endcolumn

Diff for: ql/src/semmle/go/frameworks/stdlib/HtmlTemplate.qll

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module HtmlTemplate {
113113
* The location spans column `startcolumn` of line `startline` to
114114
* column `endcolumn` of line `endline` in file `filepath`.
115115
* For more information, see
116-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
116+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
117117
*/
118118
predicate hasLocationInfo(
119119
string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -161,7 +161,7 @@ module HtmlTemplate {
161161
* The location spans column `startcolumn` of line `startline` to
162162
* column `endcolumn` of line `endline` in file `filepath`.
163163
* For more information, see
164-
* [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
164+
* [Locations](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/).
165165
*/
166166
predicate hasLocationInfo(
167167
string filepath, int startline, int startcolumn, int endline, int endcolumn

0 commit comments

Comments
 (0)