File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lldb/source/Plugins/Language/CPlusPlus Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ class LibStdcppSpanSyntheticFrontEnd : public SyntheticChildrenFrontEnd {
8282 llvm::Expected<size_t > GetIndexOfChildWithName (ConstString name) override {
8383 if (!m_start)
8484 return llvm::createStringError (
85- llvm::formatv (" Type has no child named {0}" , name.AsCString ()));
85+ llvm::formatv (" Type has no child named {0}" , name.GetStringRef ()));
8686
8787 auto optional_idx = formatters::ExtractIndexFromString (name.GetCString ());
8888 if (!optional_idx) {
8989 return llvm::createStringError (
90- llvm::formatv (" Type has no child named {0}" , name.AsCString ()));
90+ llvm::formatv (" Type has no child named {0}" , name.GetStringRef ()));
9191 }
9292 return *optional_idx;
9393 }
You can’t perform that action at this time.
0 commit comments