
StringMap::find takes StringRef. We don't need to create an instance of std::string from StringRef only to convert it right back to StringRef.
StringMap::find takes StringRef. We don't need to create an instance of std::string from StringRef only to convert it right back to StringRef.