llvm.org GIT mirror llvm / d5826c9
[YAMLIO] Wrap explicit specialization in llvm::yaml to appease build bots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365876 91177308-0d34-0410-b5e6-96231b3b80d8 Fangrui Song 3 months ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
26262626 std::map fbm;
26272627 };
26282628
2629 namespace llvm {
2630 namespace yaml {
26292631 template <> struct MappingTraits {
26302632 static void mapping(IO &io, FooBarMapMap &x) {
26312633 io.mapRequired("fbm", x.fbm);
26322634 }
26332635 };
2636 }
2637 }
26342638
26352639 TEST(YAMLIO, TestEmptyMapWrite) {
26362640 FooBarMapMap cont;