#include "clang/Basic/LangOptions.h"
#include "llvm/Support/Path.h"
#include "clang/Basic/LangOptions.def"
#include "clang/Basic/FPOptions.def"
Go to the source code of this file.
|
#define | LANGOPT(Name, Bits, Default, Compatibility, Description) |
#define | ENUM_LANGOPT(Name, Type, Bits, Default, Compatibility, Description) |
#define | LANGOPT(Name, Bits, Default, Compatibility, Description) |
#define | ENUM_LANGOPT(Name, Type, Bits, Default, Compatibility, Description) |
#define | FP_OPTION(NAME, TYPE, WIDTH, PREVIOUS) |
#define | FP_OPTION(NAME, TYPE, WIDTH, PREVIOUS) |
#define | FP_OPTION(NAME, TYPE, WIDTH, PREVIOUS) |
◆ ENUM_LANGOPT [1/2]
#define ENUM_LANGOPT |
( |
| Name, |
|
|
| Type, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
◆ ENUM_LANGOPT [2/2]
#define ENUM_LANGOPT |
( |
| Name, |
|
|
| Type, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
Value: if constexpr (CompatibilityKind::Compatibility == CompatibilityKind::Benign) \
Name =
static_cast<unsigned>(
Default);
◆ FP_OPTION [1/3]
#define FP_OPTION |
( |
| NAME, |
|
|
| TYPE, |
|
|
| WIDTH, |
|
|
| PREVIOUS ) |
Value: if (get##NAME() !=
Base.get##NAME()) \
OverrideMask |= NAME##Mask;
◆ FP_OPTION [2/3]
#define FP_OPTION |
( |
| NAME, |
|
|
| TYPE, |
|
|
| WIDTH, |
|
|
| PREVIOUS ) |
Value: llvm::errs() << "\n " #NAME " " << get##NAME();
◆ FP_OPTION [3/3]
#define FP_OPTION |
( |
| NAME, |
|
|
| TYPE, |
|
|
| WIDTH, |
|
|
| PREVIOUS ) |
Value:
llvm::errs() <<
"\n " #NAME
" Override is " << get##NAME##
Override();
const internal::ArgumentAdaptingMatcherFunc< internal::HasMatcher > has
Matches AST nodes that have child AST nodes that match the provided matcher.
@ Override
Merge availability attributes for an override, which requires an exact match or a weakening of constr...
◆ LANGOPT [1/2]
#define LANGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
◆ LANGOPT [2/2]
#define LANGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
Value: if constexpr (CompatibilityKind::Compatibility == CompatibilityKind::Benign) \