Skip to content

Commit 9780990

Browse files
authored
Merge pull request github#11433 from github/8441-general-changes
LGTM deprecation: miscellaneous changes
2 parents 434c5ea + 59b6d65 commit 9780990

25 files changed

+29
-268
lines changed

.github/ISSUE_TEMPLATE/ql---general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ assignees: ''
1010
**Description of the issue**
1111

1212
<!-- Please explain briefly what is the problem.
13-
If it is about an LGTM project, please include its URL.-->
13+
If it is about a GitHub project, please include its URL. -->
1414

cpp/ql/lib/definitions.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import IDEContextual
1212
*
1313
* In some cases it is preferable to modify locations (the
1414
* `hasLocationInfo()` predicate) so that they are short, and
15-
* non-overlapping with other locations that might be highlighted in
16-
* the LGTM interface.
15+
* non-overlapping with other locations that might be reported as
16+
* code scanning alerts on GitHub.
1717
*
1818
* We need to give locations that may not be in the database, so
1919
* we use `hasLocationInfo()` rather than `getLocation()`.

cpp/ql/src/Likely Bugs/RedundantNullCheckSimple.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313

1414
/*
15-
* Note: this query is not assigned a precision yet because we don't want it on
16-
* LGTM until its performance is well understood.
15+
* Note: this query is not assigned a precision yet because we don't want it
16+
* to be included in query suites until its performance is well understood.
1717
*/
1818

1919
import cpp

cpp/ql/src/Metrics/Dependencies/ExternalDependencies.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Library extends LibraryT {
5252
// The versions reported for C/C++ dependencies are just the versions that
5353
// happen to be installed on the system where the build takes place.
5454
// Reporting those versions is likely to cause misunderstandings, both for
55-
// people reading them and for the vulnerability checker of lgtm.
55+
// people reading them and for vulnerability checkers.
5656
result = "unknown"
5757
}
5858

docs/codeql/codeql-overview/supported-languages-and-frameworks.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CodeQL library packs (`source <https://github.com/github/codeql/tree/codeql-cli/
1616
and CodeQL bundle (`releases <https://github.com/github/codeql-action/releases>`__)
1717
support the following languages and compilers.
1818

19-
.. include:: ../support/reusables/versions-compilers.rst
19+
.. include:: ../reusables/supported-versions-compilers.rst
2020

2121
Frameworks and libraries
2222
########################
@@ -31,4 +31,4 @@ The current versions of the CodeQL library and query packs (`source <https://git
3131
For example, by extending the data flow libraries to include data sources
3232
and sinks for additional libraries or frameworks.
3333

34-
.. include:: ../support/reusables/frameworks.rst
34+
.. include:: ../reusables/supported-frameworks.rst

docs/codeql/codeql-overview/system-requirements.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ System requirements for running the latest version of CodeQL.
1010
Supported platforms
1111
#######################
1212

13-
.. include:: ../support/reusables/platforms.rst
14-
13+
.. include:: ../reusables/supported-platforms.rst
14+
1515
.. include:: ../reusables/kotlin-beta-note.rst
1616

1717
Additional software requirements

docs/codeql/ql-language-reference/annotations.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ The ``bindingset`` annotation takes a comma-separated list of variables.
433433
(for characteristic predicates and member predicates) and ``result`` (for predicates that return a result).
434434
For more information, see ":ref:`predicate-binding`."
435435
- When you annotate a class, each variable must be ``this`` or a field in the class.
436-
Binding sets for classes are supported from release 2.3.0 of the CodeQL CLI, and release 1.26 of LGTM Enterprise.
437436

438437
.. Links to use in substitutions
439438

docs/codeql/ql-language-reference/expressions.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ The values of the contained expressions need to be of :ref:`compatible types <ty
117117
Furthermore, at least one of the set elements has to be of a type that is a supertype of the types of all
118118
the other contained expressions.
119119

120-
Set literals are supported from release 2.1.0 of the CodeQL CLI, and release 1.24 of LGTM Enterprise.
121-
122120
.. index:: super
123121
.. _super:
124122

@@ -341,8 +339,6 @@ The following aggregates are available in QL:
341339
where x in [-5 .. 5] and x != 0
342340
select unique(int y | y = x or y = x.abs() | y)
343341
344-
The ``unique`` aggregate is supported from release 2.1.0 of the CodeQL CLI, and release 1.24 of LGTM Enterprise.
345-
346342
Evaluation of aggregates
347343
========================
348344

docs/codeql/ql-language-reference/ql-language-specification.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,7 @@ Set literals can be of any type, but the types within a set literal have to be c
13561356

13571357
The values of a set literal expression are all the values of all the contained element expressions.
13581358

1359-
Set literals are supported from release 2.1.0 of the CodeQL CLI, and release 1.24 of LGTM Enterprise.
1360-
1361-
Since release 2.7.1 of the CodeQL CLI, and release 1.30 of LGTM Enterprise, a trailing comma is allowed in a set literal.
1359+
Since release 2.7.1 of the CodeQL CLI, a trailing comma is allowed in a set literal.
13621360

13631361
Disambiguation of expressions
13641362
-----------------------------

docs/codeql/ql-training/template.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For this example you should download:
4141

4242
.. note::
4343

44-
Some notes about the project, perhaps a link to the project page on LGTM.
44+
Some notes about the project.
4545

4646
.. Agenda slide. Explaining what is to be covered in the presentation
4747

0 commit comments

Comments
 (0)