================
@@ -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;
----------------
adrian-prantl wrote:
> Out of curiosity, why is a pair of name + tag called a "Compiler Context"?
No terribly good reason: `DeclContext`, `DWARFDeclContext` and
`CompilerDeclContext` were already taken.
https://github.com/llvm/llvm-project/pull/77349
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits