mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Update link text
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://help.semmle.com/QL/learn-ql/ql/locations.html).
|
||||
* For more information, see [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://help.semmle.com/QL/learn-ql/ql/locations.html).
|
||||
* [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
|
||||
|
||||
Reference in New Issue
Block a user