================ @@ -130,6 +149,12 @@ static const llvm::StringSet<> TypeTraits = { "result_of", "invoke_result", "type_identity", + "tuple_element", ---------------- localspook wrote:
Good catch -- recursive traits are indeed problematic, the check fires on the recursive use in the definition. Unfortunately I'm not confident fixing it (that's kinda why I'm not addressing `treat_as_floating_point_v` or `is_clock_v` either...), so I've just removed `tuple_element` and added a `FIXME`. https://github.com/llvm/llvm-project/pull/147074 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits