[YAML] Fix mustQuote return type changed in r320996

llvm-svn: 320997
This commit is contained in:
Francis Visoiu Mistrih 2017-12-18 17:49:27 +00:00
parent b213b27ee3
commit 5486d2472c
2 changed files with 6 additions and 6 deletions

View File

@ -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 <>

View File

@ -280,7 +280,7 @@ template <> struct ScalarTraits<RefKind> {
return StringRef("unknown reference kind");
}
static bool mustQuote(StringRef) { return false; }
static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
template <> struct ScalarEnumerationTraits<lld::File::Kind> {
@ -495,7 +495,7 @@ template <> struct ScalarTraits<lld::DefinedAtom::Alignment> {
return StringRef(); // returning empty string means success
}
static bool mustQuote(StringRef) { return false; }
static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
template <> struct ScalarEnumerationTraits<FileKinds> {
@ -552,7 +552,7 @@ template <> struct ScalarTraits<ImplicitHex8> {
return StringRef(); // returning empty string means success
}
static bool mustQuote(StringRef) { return false; }
static QuotingType mustQuote(StringRef) { return QuotingType::None; }
};
// YAML conversion for std::vector<const lld::File*>