aboutsummaryrefslogtreecommitdiff
path: root/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-03-08 10:59:54 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-03-08 10:59:54 -0500
commit3200ebc2ea5f6bb51130cbc69d6533144a9f4ddc (patch)
treee234c061c28a95c35afbb35b80b89e3114ecdeb9 /deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
parent2e010c60ae006944ae20ab8b3445598471c9f1e8 (diff)
parentb57cb04afc1898c3b21ef3486709f0c0aa285433 (diff)
downloadzig-3200ebc2ea5f6bb51130cbc69d6533144a9f4ddc.tar.gz
zig-3200ebc2ea5f6bb51130cbc69d6533144a9f4ddc.zip
Merge branch 'llvm6'
Zig now depends on LLVM 6.0.0. The latest commit that depends on LLVM 5.0.1 is 2e010c60ae006944ae20ab8b3445598471c9f1e8.
Diffstat (limited to 'deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp')
-rw-r--r--deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp b/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
index 5233e42e5f..92a646dab5 100644
--- a/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
+++ b/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
@@ -16,8 +16,8 @@
/// +------------+ +------+
#include "MachONormalizedFile.h"
+#include "lld/Common/LLVM.h"
#include "lld/Core/Error.h"
-#include "lld/Core/LLVM.h"
#include "lld/ReaderWriter/YamlContext.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
@@ -257,7 +257,7 @@ template <> struct ScalarTraits<SectionAlignment> {
return StringRef(); // returning empty string means success
}
- static bool mustQuote(StringRef) { return false; }
+ static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
template <>
@@ -522,7 +522,7 @@ struct ScalarTraits<VMProtect> {
// Return the empty string on success,
return StringRef();
}
- static bool mustQuote(StringRef) { return false; }
+ static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
@@ -706,7 +706,7 @@ struct ScalarTraits<PackedVersion> {
// Return the empty string on success,
return StringRef();
}
- static bool mustQuote(StringRef) { return false; }
+ static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
template <>