tahonermann added a comment.

This change appears to be responsible for the following test case now being 
rejected. That seems right and is consistent with the intent, but use of 
`-fclang-abi-compat=14` doesn't seem to restore the prior behavior. 
https://godbolt.org/z/ad1TPjTza

  struct map
  {
    template <typename Sequence>
    map(Sequence&& seq , void* = 0 ); // g++ prefers this one
    template <typename First, typename ...T_>
    map(First&& first, T_&&... rest);
  };
  
  int main()
  {
    int i;
    map m(i);
    return 0;
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128745/new/

https://reviews.llvm.org/D128745

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to