Displaying 1 result from an estimated 1 matches for "booltest".
Did you mean:
pooltest
2013 Mar 11
0
[LLVMdev] YAML IO problems
...h"
using namespace std;
using llvm::yaml::Input;
using llvm::yaml::MappingTraits;
//===-------------------------
---------------------------------------------===//
// 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(&q...