[all-commits] [llvm/llvm-project] b4e997: Remove C++17 #ifdefs around the implicit conversio...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Mon Aug 8 04:06:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b4e9977fc18405d4a11cbaf1975bcadbf75920b8
https://github.com/llvm/llvm-project/commit/b4e9977fc18405d4a11cbaf1975bcadbf75920b8
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths:
M llvm/include/llvm/ADT/StringRef.h
Log Message:
-----------
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.
More information about the All-commits
mailing list