mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
1.1 KiB
1.1 KiB
| 1 | Language | Variants | Compilers | Extensions |
|---|---|---|---|---|
| 2 | C/C++ | C89, C99, C11, C++98, C++03, C++11, C++14, C++17 | Clang (and clang-cl [1]_) extensions (up to Clang 8.0), GNU extensions (up to GCC 8.3), Microsoft extensions (up to VS 2019), Arm Compiler 5.0 [2]_. | ``.cpp``, ``.c++``, ``.cxx``, ``.hpp``, ``.hh``, ``.h++``, ``.hxx``, ``.c``, ``.cc``, ``.h`` |
| 3 | C# | C# up to 7.3. with .NET up to 4.8 [3]_. | Microsoft Visual Studio up to 2019, .NET Core up to 2.2 | ``.sln``, ``.csproj``, ``.cs``, ``.cshtml``, ``.xaml`` |
| 4 | COBOL | ANSI 85 or newer [4]_. | Not applicable | ``.cbl``, ``.CBL``, ``.cpy``, ``.CPY``, ``.copy``, ``.COPY`` |
| 5 | Go (aka Golang) | Go up to 1.13 | Go 1.11 or more recent | ``.go`` |
| 6 | Java | Java 6 to 12 [5]_. | javac (OpenJDK and Oracle JDK), Eclipse compiler for Java (ECJ) [6]_. | ``.java`` |
| 7 | JavaScript | ECMAScript 2019 or lower | Not applicable | ``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhm``, ``.xhtml``, ``.vue``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [7]_. |
| 8 | Python | 2.7, 3.5, 3.6, 3.7 | Not applicable | ``.py`` |
| 9 | TypeScript [8]_. | 2.6-3.5 | Standard TypeScript compiler | ``.ts``, ``.tsx`` |