[lld] r205956 - Update to match changes made in r205955
David Majnemer
david.majnemer at gmail.com
Thu Apr 10 00:49:18 PDT 2014
Author: majnemer
Date: Thu Apr 10 02:49:18 2014
New Revision: 205956
URL: http://llvm.org/viewvc/llvm-project?rev=205956&view=rev
Log:
Update to match changes made in r205955
Modified:
lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
Modified: lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp?rev=205956&r1=205955&r2=205956&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp Thu Apr 10 02:49:18 2014
@@ -453,6 +453,7 @@ struct ScalarTraits<VMProtect> {
// Return the empty string on success,
return StringRef();
}
+ static bool mustQuote(StringRef) { return false; }
};
Modified: lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp?rev=205956&r1=205955&r2=205956&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp (original)
+++ lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp Thu Apr 10 02:49:18 2014
@@ -340,6 +340,8 @@ template <> struct ScalarTraits<RefKind>
return StringRef();
return StringRef("unknown reference kind");
}
+
+ static bool mustQuote(StringRef) { return false; }
};
template <> struct ScalarEnumerationTraits<lld::File::Kind> {
@@ -548,6 +550,8 @@ template <> struct ScalarTraits<lld::Def
}
return StringRef(); // returning empty string means success
}
+
+ static bool mustQuote(StringRef) { return false; }
};
template <> struct ScalarEnumerationTraits<FileKinds> {
@@ -594,6 +598,8 @@ template <> struct ScalarTraits<Implicit
val = n;
return StringRef(); // returning empty string means success
}
+
+ static bool mustQuote(StringRef) { return false; }
};
// YAML conversion for std::vector<const lld::File*>
More information about the llvm-commits
mailing list