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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 28 03:12:12 PST 2025


================
@@ -3903,6 +3903,7 @@ class EnumDecl : public TagDecl {
   void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
                                     TemplateSpecializationKind TSK);
 
+public:
----------------
Michael137 wrote:

Can we not just leave this whole block in `TypeSystemClang::CompleteTagDeclarationDefinition`? That way you can just pass the `NumNegativeBits`/`NumPositiveBits` to `EnumDecl::completeDefinition` like we used to. Why do we need to move it over here?

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


More information about the lldb-commits mailing list