enum class Language
Description
The language for the input, used to select and validate the language standard and possible actions.
Declared at: clang/include/clang/Basic/LangStandard.h:23
Enumerators
Name | Value | Comment |
---|---|---|
Unknown | 0 | |
Asm | 1 | Assembly: we accept this only so that we can preprocess it. |
LLVM_IR | 2 | LLVM IR: we accept this so that we can run the optimizer on it, and compile it to assembly or object code. |
C | 3 | @ { Languages that the frontend can parse and compile. |
CXX | 4 | @ { Languages that the frontend can parse and compile. |
ObjC | 5 | @ { Languages that the frontend can parse and compile. |
ObjCXX | 6 | @ { Languages that the frontend can parse and compile. |
OpenCL | 7 | @ { Languages that the frontend can parse and compile. |
OpenCLCXX | 8 | @ { Languages that the frontend can parse and compile. |
CUDA | 9 | @ { Languages that the frontend can parse and compile. |
RenderScript | 10 | @ { Languages that the frontend can parse and compile. |
HIP | 11 | @ { Languages that the frontend can parse and compile. |
HLSL | 12 | @ { Languages that the frontend can parse and compile. |