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

Yes, but I didn't want to move `isRepresentableIntegerValue` outside of 
`SemaDecl.cpp`, so I moved only the part that checks the bits. Seemed 
unnecessary to both move the static function and also use call it from LLDB 
where the result wouldn't be used anyway.

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

Reply via email to