================
@@ -13,12 +13,18 @@
 using namespace lldb_private::dwarf;
 using namespace lldb_private::plugin::dwarf;
 
+static bool IsStructOrClassTag(llvm::dwarf::Tag Tag) {
----------------
Michael137 wrote:

Are there more tag equality checks around LLDB that could benefit from re-using 
the following check:
```
udt.m_die.Tag() == die.Tag() || (IsStructOrClassTag(udt.m_die.Tag()) &&
                                         IsStructOrClassTag(die.Tag()))
```

There's at least two now. Not sure where we'd put such an API. Perhaps 
@felipepiovezan or @adrian-prantl have some input on this.

https://github.com/llvm/llvm-project/pull/93839
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to