Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/TextAPI/MachO/TextStubCommon.cpp
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
QuotingType ScalarTraits<PlatformSet>::mustQuote(StringRef) { | QuotingType ScalarTraits<PlatformSet>::mustQuote(StringRef) { | ||||
return QuotingType::None; | return QuotingType::None; | ||||
} | } | ||||
void ScalarBitSetTraits<ArchitectureSet>::bitset(IO &IO, | void ScalarBitSetTraits<ArchitectureSet>::bitset(IO &IO, | ||||
ArchitectureSet &Archs) { | ArchitectureSet &Archs) { | ||||
#define ARCHINFO(arch, type, subtype) \ | #define ARCHINFO(arch, type, subtype, numbits) \ | ||||
IO.bitSetCase(Archs, #arch, 1U << static_cast<int>(AK_##arch)); | IO.bitSetCase(Archs, #arch, 1U << static_cast<int>(AK_##arch)); | ||||
#include "llvm/TextAPI/MachO/Architecture.def" | #include "llvm/TextAPI/MachO/Architecture.def" | ||||
#undef ARCHINFO | #undef ARCHINFO | ||||
} | } | ||||
void ScalarTraits<Architecture>::output(const Architecture &Value, void *, | void ScalarTraits<Architecture>::output(const Architecture &Value, void *, | ||||
raw_ostream &OS) { | raw_ostream &OS) { | ||||
OS << Value; | OS << Value; | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |