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

NameValueComment
Unknown0
Asm1Assembly: we accept this only so that we can preprocess it.
LLVM_IR2LLVM IR: we accept this so that we can run the optimizer on it, and compile it to assembly or object code.
C3@ { Languages that the frontend can parse and compile.
CXX4@ { Languages that the frontend can parse and compile.
ObjC5@ { Languages that the frontend can parse and compile.
ObjCXX6@ { Languages that the frontend can parse and compile.
OpenCL7@ { Languages that the frontend can parse and compile.
OpenCLCXX8@ { Languages that the frontend can parse and compile.
CUDA9@ { Languages that the frontend can parse and compile.
RenderScript10@ { Languages that the frontend can parse and compile.
HIP11@ { Languages that the frontend can parse and compile.
HLSL12@ { Languages that the frontend can parse and compile.