commit | 33b4c8a18f0d3d8a837b5f03c815935472963968 | [log] [tgz] |
---|---|---|
author | Alex Lorenz <arphaman@gmail.com> | Wed Jul 25 21:50:44 2018 +0000 |
committer | Alex Lorenz <arphaman@gmail.com> | Wed Jul 25 21:50:44 2018 +0000 |
tree | 7fb5ab27b8eb402f46e3d805c979d794b0da86c2 | |
parent | 6a5368eadba4bbbf3120d207795f13853fabcb4f [diff] |
[libc++] Follow-up to r337960: specify lambda's return type to avoid -Wc++11-narrowing warning on Darwin The internal CI produced the following diagnostic: error: non-constant-expression cannot be narrowed from type 'long long' to '__darwin_suseconds_t' (aka 'int') in initializer list [-Wc++11-narrowing] struct ::timeval ConvertedTS[2] = {{TS[0].tv_sec, Convert(TS[0].tv_nsec)}, ^~~~~~~~~~~~~~~~~~~~~~ llvm-svn: 337968