[PATCH] D103935: Add Twine support for std::string_view.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 8 17:09:54 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Support/Twine.cpp:48
+#if __cplusplus > 201402L
+ case StdStringViewKind: {
+ const std::string_view *str = LHS.stdStringView;
----------------
Is string_view guaranteed to be null terminated?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103935/new/
https://reviews.llvm.org/D103935
More information about the llvm-commits
mailing list