Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 8 Aug 2022 10:54:50 +0000 (12:54 +0200)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 8 Aug 2022 10:59:23 +0000 (12:59 +0200)
commitb4e9977fc18405d4a11cbaf1975bcadbf75920b8
tree13569612e77eb3473688fc5221b7324007cec4e0
parente5e93b6130bde96d7e14851e218c5bf055f8a834
Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view

This is no longer needed as LLVM is built with C++17 now. Also drop the
explicit conversion to std::string as the implicit conversion to
std::string_view gets picked first anyways.
llvm/include/llvm/ADT/StringRef.h