Skip to content

Commit 5034d40

Browse files
authored
Merge pull request github#3203 from jf205/sd-55
CodeQL support docs: combine table and footnotes into single snippet
2 parents 1096e5d + d2b0599 commit 5034d40

File tree

3 files changed

+34
-33
lines changed

3 files changed

+34
-33
lines changed

docs/language/support/language-support.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,4 @@ Customers with any questions should contact their usual Semmle contact with any
1010
If you're not a customer yet, contact us at [email protected]
1111
with any questions you have about language and compiler support.
1212

13-
.. csv-table::
14-
:file: versions-compilers.csv
15-
:header-rows: 1
16-
:widths: auto
17-
:stub-columns: 1
18-
19-
.. container:: footnote-group
20-
21-
.. [1] Support for the clang-cl compiler is preliminary.
22-
.. [2] Support for the Arm Compiler (armcc) is preliminary.
23-
.. [3] In addition, support is included for the preview features of C# 8.0 and .NET Core 3.0.
24-
.. [4] Builds that execute on Java 6 to 12 can be analyzed. The analysis understands Java 12 language features.
25-
.. [5] ECJ is supported when the build invokes it via the Maven Compiler plugin or the Takari Lifecycle plugin.
26-
.. [6] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files.
27-
.. [7] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default for LGTM.
13+
.. include:: versions-compilers.rst

docs/language/support/versions-compilers.csv

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.. csv-table::
2+
:header-rows: 1
3+
:widths: auto
4+
:stub-columns: 1
5+
6+
Language,Variants,Compilers,Extensions
7+
C/C++,"C89, C99, C11, C18, C++98, C++03, C++11, C++14, C++17","Clang (and clang-cl [1]_) extensions (up to Clang 9.0),
8+
9+
GNU extensions (up to GCC 9.2),
10+
11+
Microsoft extensions (up to VS 2019),
12+
13+
Arm Compiler 5 [2]_","``.cpp``, ``.c++``, ``.cxx``, ``.hpp``, ``.hh``, ``.h++``, ``.hxx``, ``.c``, ``.cc``, ``.h``"
14+
C#,C# up to 8.0. with .NET up to 4.8 [3]_,"Microsoft Visual Studio up to 2019,
15+
16+
.NET Core up to 3.0","``.sln``, ``.csproj``, ``.cs``, ``.cshtml``, ``.xaml``"
17+
Go (aka Golang), "Go up to 1.14", "Go 1.11 or more recent", ``.go``
18+
Java,"Java 6 to 13 [4]_","javac (OpenJDK and Oracle JDK),
19+
20+
Eclipse compiler for Java (ECJ) [5]_",``.java``
21+
JavaScript,ECMAScript 2019 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhm``, ``.xhtml``, ``.vue``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [6]_"
22+
Python,"2.7, 3.5, 3.6, 3.7, 3.8",Not applicable,``.py``
23+
TypeScript [7]_,"2.6-3.7",Standard TypeScript compiler,"``.ts``, ``.tsx``"
24+
25+
.. container:: footnote-group
26+
27+
.. [1] Support for the clang-cl compiler is preliminary.
28+
.. [2] Support for the Arm Compiler (armcc) is preliminary.
29+
.. [3] In addition, support is included for the preview features of C# 8.0 and .NET Core 3.0.
30+
.. [4] Builds that execute on Java 6 to 12 can be analyzed. The analysis understands Java 12 language features.
31+
.. [5] ECJ is supported when the build invokes it via the Maven Compiler plugin or the Takari Lifecycle plugin.
32+
.. [6] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files.
33+
.. [7] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default for LGTM.

0 commit comments

Comments
 (0)