summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/TextAPI/MachO/ArchitectureSet.cpp')
-rw-r--r--llvm/lib/TextAPI/MachO/ArchitectureSet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp b/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp
index 882305cd0c2..c589671199b 100644
--- a/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp
+++ b/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp
@@ -18,7 +18,7 @@ namespace MachO {
ArchitectureSet::ArchitectureSet(const std::vector<Architecture> &Archs)
: ArchitectureSet() {
for (auto Arch : Archs) {
- if (Arch == Architecture::unknown)
+ if (Arch == AK_unknown)
continue;
set(Arch);
}
@@ -51,7 +51,7 @@ ArchitectureSet::operator std::string() const {
ArchitectureSet::operator std::vector<Architecture>() const {
std::vector<Architecture> archs;
for (auto arch : *this) {
- if (arch == Architecture::unknown)
+ if (arch == AK_unknown)
continue;
archs.emplace_back(arch);
}
OpenPOWER on IntegriCloud