yonghong-song wrote: @eddyz87 Just loaded another implementation. The idea is to generate an __builtin_preserve_enum_value() when an enum decl with preserve_access_index appears and later on that __builtin_preserve_enum_value(), which already exists in the current implementation, can validate the correctness or not. Please take a look.
https://github.com/llvm/llvm-project/pull/232498 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
