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

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 31 14:25:20 PST 2025


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

It's used in 5 other places in `SemaDecl.cpp`, unfortunately, so it will have to be yet another `ASTContext` function.

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


More information about the lldb-commits mailing list