I was doing this API conversion to use std::string_view top-down in
D149104, but this exposed issues in individual demanglers that needed to
get fixed first. There's no issue with the conversion for the Rust
demangler, so convert it first.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Core/Mangled.cpp | ||
---|---|---|
263 | oh, I meant to remove this now that I provide operator std::string_view() on class ConstString. |
lldb/include/lldb/Utility/ConstString.h | ||
---|---|---|
186 | Perhaps I find the previous comment not useful as well Implicitly convert \class ConstString instances to \class StringRef. If we want to emphasize that they are implicit conversions instead of explicit conversions (https://en.cppreference.com/w/cpp/language/cast_operator), a single comment // Implicit conversion functions. should suffice, covering all conversion functions. |
Perhaps I find the previous comment not useful as well Implicitly convert \class ConstString instances to \class StringRef.
If we want to emphasize that they are implicit conversions instead of explicit conversions (https://en.cppreference.com/w/cpp/language/cast_operator), a single comment // Implicit conversion functions. should suffice, covering all conversion functions.
@JDevlieghere @labath