[Lldb-commits] [clang] [lldb] [lldb] Analyze enum promotion type during parsing (PR #115005)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 31 14:27:47 PST 2025


================
@@ -2367,11 +2369,36 @@ size_t DWARFASTParserClang::ParseChildEnumerators(
     }
 
     if (name && name[0] && got_value) {
-      m_ast.AddEnumerationValueToEnumerationType(
+      auto ECD = m_ast.AddEnumerationValueToEnumerationType(
----------------
Michael137 wrote:

Ah true, I still think it's worth doing. Worst case they recommend a different place to put these APIs. If anyone is strongly against this we can resort to your previous version I suppose

https://github.com/llvm/llvm-project/pull/115005


More information about the lldb-commits mailing list