Displaying 1 result from an estimated 1 matches for "inttest".
Did you mean:
inbtest
2013 Mar 11
0
[LLVMdev] YAML IO problems
...ppingTraits;
//===-------------------------
---------------------------------------------===//
// Test MappingTraits
//===----------------------------------------------------------------------===//
struct FooBar {
bool boolTest;
llvm::StringRef directory;
llvm::StringRef suffix;
int32_t intTest;
};
typedef std::vector<FooBar> FooBarSequence;
namespace llvm {
namespace yaml {
template <>
struct MappingTraits<FooBar> {
static void mapping(IO &io, FooBar& fb) {
io.mapRequired("bool_test", fb.boolTest);
io.mapRequired("directory&qu...