[clang-tools-extra] [clang-doc] Use const and constexpr arrays in BitcodeWriter (PR #198066)

Wolfgang Pieb via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 17:36:00 PDT 2026


wolfy1961 wrote:

Hi @ilovepi, I did a bit of digging and it seems that this problem comes down to RecordsByBlock[] not being initialized properly (the RIDs are all 0). This may be due to MS VS2019 having trouble with the combination of std::initializer_list and constexpr.

Perhaps it would be good to not combine these 2 constructs for now or only use them conditionally when MSVC is not used.

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


More information about the cfe-commits mailing list