struct ZVA {
static constexpr size_t SIZE = 64;
- static void splat_set(char *dst, const unsigned char value) {
+ static void splat_set(char *dst, const unsigned char) {
#if __SIZEOF_POINTER__ == 4
asm("dc zva, %w[dst]" : : [dst] "r"(dst) : "memory");
#else
auto HeaderSpecList = StandardSpec->getValueAsListOfDefs("Headers");
for (llvm::Record *HeaderSpec : HeaderSpecList) {
llvm::StringRef Header = HeaderSpec->getValueAsString("Name");
- if (!StdHeader.hasValue() || Header == StdHeader) {
+ if (!StdHeader.has_value() || Header == StdHeader) {
PublicHeaders.emplace(Header);
auto MacroSpecList = HeaderSpec->getValueAsListOfDefs("Macros");
// TODO: Trigger a fatal error on duplicate specs.
if (isaStandardSpec(Def))
indexStandardSpecDef(Def);
if (isaPublicAPI(Def)) {
- if (!StdHeader.hasValue() ||
+ if (!StdHeader.has_value() ||
Def->getValueAsString("HeaderName") == StdHeader)
indexPublicAPIDef(Def);
}