mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
update links to locations in .qll files
This commit is contained in:
4
python/ql/src/external/CodeDuplication.qll
vendored
4
python/ql/src/external/CodeDuplication.qll
vendored
@@ -12,7 +12,7 @@ string relativePath(File file) {
|
||||
* Holds if the `index`-th token of block `copy` is in file `file`, spanning
|
||||
* column `sc` of line `sl` to column `ec` of line `el`.
|
||||
*
|
||||
* For more information, see [LGTM locations](https://lgtm.com/help/ql/locations).
|
||||
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
|
||||
*/
|
||||
pragma[noinline, nomagic]
|
||||
private predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) {
|
||||
@@ -82,7 +82,7 @@ class Copy extends @duplication_or_similarity
|
||||
* The location spans column `startcolumn` of line `startline` to
|
||||
* column `endcolumn` of line `endline` in file `filepath`.
|
||||
* For more information, see
|
||||
* [LGTM locations](https://lgtm.com/help/ql/locations).
|
||||
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
|
||||
*/
|
||||
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
|
||||
sourceFile().getName() = filepath and
|
||||
|
||||
2
python/ql/src/external/DefectFilter.qll
vendored
2
python/ql/src/external/DefectFilter.qll
vendored
@@ -8,7 +8,7 @@ import semmle.python.Files
|
||||
* column `startcol` of line `startline` to column `endcol` of line `endline`
|
||||
* in file `filepath`.
|
||||
*
|
||||
* For more information, see [LGTM locations](https://lgtm.com/help/ql/locations).
|
||||
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
|
||||
*/
|
||||
external predicate defectResults(int id, string queryPath, string filepath, int startline,
|
||||
int startcol, int endline, int endcol, string message);
|
||||
|
||||
@@ -321,7 +321,7 @@ abstract class Container extends @container {
|
||||
/**
|
||||
* Gets a URL representing the location of this container.
|
||||
*
|
||||
* For more information see https://lgtm.com/help/ql/locations#providing-urls.
|
||||
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls.
|
||||
*/
|
||||
abstract string getURL();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user