clang 20.0.0git
|
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "clang/Basic/LangStandards.def"
Go to the source code of this file.
Classes | |
struct | clang::LangStandard |
LangStandard - Information about the properties of a particular language standard. More... | |
Namespaces | |
namespace | llvm |
Diagnostic wrappers for TextAPI types for error reporting. | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
#define | LANGSTANDARD(id, name, lang, desc, features) lang_##id, |
Enumerations | |
enum class | clang::Language : uint8_t { clang::Unknown , clang::Asm , clang::CIR , clang::LLVM_IR , clang::C , clang::CXX , clang::ObjC , clang::ObjCXX , clang::OpenCL , clang::OpenCLCXX , clang::CUDA , clang::HIP , clang::HLSL } |
The language for the input, used to select and validate the language standard and possible actions. More... | |
enum | clang::LangFeatures { clang::LineComment = (1 << 0) , clang::C99 = (1 << 1) , clang::C11 = (1 << 2) , clang::C17 = (1 << 3) , clang::C23 = (1 << 4) , clang::C2y = (1 << 5) , clang::CPlusPlus = (1 << 6) , clang::CPlusPlus11 = (1 << 7) , clang::CPlusPlus14 = (1 << 8) , clang::CPlusPlus17 = (1 << 9) , clang::CPlusPlus20 = (1 << 10) , clang::CPlusPlus23 = (1 << 11) , clang::CPlusPlus26 = (1 << 12) , clang::Digraphs = (1 << 13) , clang::GNUMode = (1 << 14) , clang::HexFloat = (1 << 15) , clang::OpenCL = (1 << 16) , clang::HLSL = (1 << 17) } |
Functions | |
StringRef | clang::languageToString (Language L) |
LangStandard::Kind | clang::getDefaultLanguageStandard (clang::Language Lang, const llvm::Triple &T) |
#define LANGSTANDARD | ( | id, | |
name, | |||
lang, | |||
desc, | |||
features | |||
) | lang_##id, |
Definition at line 73 of file LangStandard.h.