forked from OSchip/llvm-project
[YAML] Fix mustQuote return type changed in r320996
llvm-svn: 320997
This commit is contained in:
parent
b213b27ee3
commit
5486d2472c
|
@ -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 <>
|
||||
|
|
|
@ -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*>
|
||||
|
|
Loading…
Reference in New Issue