https://github.com/Sirraide commented:
This is just moving stuff around so that seems fine. Though, I wonder, could we just pass e.g. an `ArrayRef<Decl*>` to `computeEnumBits()`? The LLDB pr you linked seems to have an `SmallVector<EnumConstantDecl*>, so that should be possible (I think it does require a `reinterpret_cast` from a `const Decl**` to a `const EnumConstantDecl**`, but we already do that in other places in Clang iirc). https://github.com/llvm/llvm-project/pull/126096 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits