diff options
author | Alex Lorenz <arphaman@gmail.com> | 2018-07-25 21:50:44 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2018-07-25 21:50:44 +0000 |
commit | 33b4c8a18f0d3d8a837b5f03c815935472963968 (patch) | |
tree | 7fb5ab27b8eb402f46e3d805c979d794b0da86c2 /clang/unittests/Tooling/RefactoringActionRulesTest.cpp | |
parent | 6a5368eadba4bbbf3120d207795f13853fabcb4f (diff) | |
download | bcm5719-llvm-33b4c8a18f0d3d8a837b5f03c815935472963968.tar.gz bcm5719-llvm-33b4c8a18f0d3d8a837b5f03c815935472963968.zip |
[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
Diffstat (limited to 'clang/unittests/Tooling/RefactoringActionRulesTest.cpp')
0 files changed, 0 insertions, 0 deletions