Go to the source code of this file.
◆ MCBINDOPT
#define MCBINDOPT |
( |
|
NAME | ) |
|
Value: do { \
NAME##View = std::addressof(NAME); \
} while (0)
◆ MCOPT
#define MCOPT |
( |
|
TY, |
|
|
|
NAME |
|
) |
| |
Value:
TY llvm::mc::get##NAME() { \
assert(NAME##View && "RegisterMCTargetOptionsFlags not created."); \
return *NAME##View; \
}
Definition at line 20 of file MCTargetOptionsCommandFlags.cpp.
◆ MCOPT_EXP
#define MCOPT_EXP |
( |
|
TY, |
|
|
|
NAME |
|
) |
| |
Value:
std::optional<TY> llvm::mc::getExplicit##NAME() { \
if (NAME##View->getNumOccurrences()) { \
TY res = *NAME##View; \
return res; \
} \
return std::nullopt; \
}
Definition at line 27 of file MCTargetOptionsCommandFlags.cpp.