#include "clang/Basic/LangStandard.h"
#include "clang/Config/config.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TargetParser/Triple.h"
#include "clang/Basic/LangStandards.def"
Go to the source code of this file.
|
#define | LANGSTANDARD(id, name, lang, desc, features) static const LangStandard Lang_##id = {name, desc, features, Language::lang}; |
|
#define | LANGSTANDARD(id, name, lang, desc, features) case lang_##id: return Lang_##id; |
|
#define | LANGSTANDARD(id, name, lang, desc, features) .Case(name, lang_##id) |
|
#define | LANGSTANDARD_ALIAS(id, alias) .Case(alias, lang_##id) |
|
◆ LANGSTANDARD [1/3]
#define LANGSTANDARD |
( |
|
id, |
|
|
|
name, |
|
|
|
lang, |
|
|
|
desc, |
|
|
|
features |
|
) |
| static const LangStandard Lang_##id = {name, desc, features, Language::lang}; |
◆ LANGSTANDARD [2/3]
#define LANGSTANDARD |
( |
|
id, |
|
|
|
name, |
|
|
|
lang, |
|
|
|
desc, |
|
|
|
features |
|
) |
| case lang_##id: return Lang_##id; |
◆ LANGSTANDARD [3/3]
#define LANGSTANDARD |
( |
|
id, |
|
|
|
name, |
|
|
|
lang, |
|
|
|
desc, |
|
|
|
features |
|
) |
| .Case(name, lang_##id) |
◆ LANGSTANDARD_ALIAS
#define LANGSTANDARD_ALIAS |
( |
|
id, |
|
|
|
alias |
|
) |
| .Case(alias, lang_##id) |