llvm-project
6b42c913 - [WebAssembly] Clean up CustomMappingTraits<BBNumberMap> (NFC) (#167155)

Commit
128 days ago
[WebAssembly] Clean up CustomMappingTraits<BBNumberMap> (NFC) (#167155) This patch does two things for readability: - Use structured bindings. - Remove extraneous .c_str(). Note that YamlIO.mapRequired takes StringRef as the key type. As such, we can implicitly construct StringRef from std::string.
Parents
Loading