I have a patch to the YAML I/O library to support mappings with keys that are unknown at compile time. This allows the serialization of an llvm::StringMap to a YAML mapping. Currently, this functionality is used in Sony specific Clang Static Analyzer checkers.
It would help with our local merges to have this patch upstream, even though it won’t be used by anything yet. Will these changes be helpful for others / future work?
Any suggestions for improving the patch are welcome.
yaml_variable_map.patch (13.9 KB)