================
@@ -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 DeclContext `A::B::C`, this methods returns
+ /// `{"C", "B", "A"}`
+ llvm::SmallVector<llvm::StringRef> GetQualifiedNameAsVector() const;
----------------
felipepiovezan wrote:
AFAICT DWARFDeclContext has no existing relationship to CompilerContexts.
Even if we were to add one, I think we would lose some information here.
DWARFDeclContext keeps a `dwarf::Tag` instead of the more specific
`CompilerContextKind` enumeration, which is more of a bitfield for specifying
queries (based on the comments of that class).
... and CompilerContexts use ConstStrings 🙄
https://github.com/llvm/llvm-project/pull/77349
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits