[clang] [clang-tools-extra] [llvm] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 19:16:59 PDT 2025


ChuanqiXu9 wrote:

> > > If reflection is 'experimental' anything we change that breaks serialization/etc is perfectly fine.
> > 
> > 
> > If this is the decision, I think it will be better to explicitly diagnose for any code path that triggers serialization
> 
> That seems pretty novel? We don't typically diagnose that sort of thing.

I just think, if users triggers serialization with reflection now, it is better to  diagnose immediately instead of continue silently and the user may meet odd problems...

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


More information about the llvm-commits mailing list