[Lldb-commits] [lldb] [lldb][[DWARFDeclContext] Add function to extract qualified names as vector (PR #77349)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 8 17:02:55 PST 2024
================
@@ -55,6 +55,12 @@ const char *DWARFDeclContext::GetQualifiedName() const {
return m_qualified_name.c_str();
}
+llvm::SmallVector<llvm::StringRef>
+DWARFDeclContext::GetQualifiedNameAsVector() const {
+ return llvm::to_vector_of<llvm::StringRef>(
+ llvm::map_range(m_entries, GetName));
----------------
adrian-prantl wrote:
TIL!
https://github.com/llvm/llvm-project/pull/77349
More information about the lldb-commits
mailing list