[clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [NFCI][RTTI][Passes] Make the ID fields const char (PR #179970)

Steffen Larsen via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 8 23:02:09 PST 2026


steffenlarsen wrote:

Sadly, it looks like MSVC LTO likes to merge static const definitions, as suggested by
https://github.com/llvm/llvm-project/blob/151fadecd15b8c0b2f233b0df4292776a093ee19/llvm/include/llvm/ADT/Any.h#L34-L36

I'll close this patch and trust that there will be no misuse of it.

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


More information about the llvm-commits mailing list