[SmallString] Add explicit conversion to std::string
With the conversion between StringRef and std::string now being explicit, converting SmallStrings becomes more tedious. This patch adds an explicit operator so you can write std::string(Str) instead of Str.str().str(). Differential revision: https://reviews.llvm.org/D73640
Loading
Please sign in to comment