[clang] [Sema][CUDA][HIP] Reject RTTI operations in device code (PR #228469)

Steffen Larsen via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 07:54:46 PDT 2026


steffenlarsen wrote:

This was sparked from the discussion in https://github.com/llvm/llvm-project/pull/228031#discussion_r4165042370. The main drawback is making the compiler stricter than before. I don't know if there is history behind the original relaxed implementation or if it was just an unintentional discrepancy.

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


More information about the cfe-commits mailing list