[Lldb-commits] [lldb] [lldb][[DWARFDeclContext] Add function to extract qualified names as vector (PR #77349)
    Felipe de Azevedo Piovezan via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Mon Jan  8 10:22:43 PST 2024
    
    
  
================
@@ -68,6 +68,11 @@ class DWARFDeclContext {
 
   const char *GetQualifiedName() const;
 
+  /// Returns a vector of string, one string per entry in the fully qualified
+  /// name. For example, for the name `A::B::C`, this methods returns `{"A",
+  /// "B", "C"}`
+  llvm::SmallVector<llvm::StringRef> GetQualifiedNameAsVector() const;
----------------
felipepiovezan wrote:
Oops, this comment is wrong: the order of the strings is reversed here.
https://github.com/llvm/llvm-project/pull/77349
    
    
More information about the lldb-commits
mailing list