hans added a comment.

We're seeing a diagnostic change in Chromium which looks funny. For the 
following code (span<> is our own class):

  int WontCompile() {
    const std::vector<int> v;
    span<int> s = make_span(v);
  }

the diagnostic changes from:

  fatal error: no viable conversion from 'span<const int, [...]>' to 'span<int, 
[...]>

to

  fatal error: no viable conversion from 'span<T, [...]>' to 'span<int, [...]>

This looks very strange.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110216

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

Reply via email to