aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/JSON.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2020-09-24 11:18:21 +0200
committerMikael Holmen <mikael.holmen@ericsson.com>2020-09-24 11:25:36 +0200
commita1217620a87f66616c15e869d56783ba18e51b12 (patch)
tree35ffbd4a9cbb82d6b81d4591c93cd2ffbc5d73f7 /llvm/lib/Support/JSON.cpp
parent8cc842a95072aaa87b5067a12aa9ef5b3ac8e592 (diff)
downloadllvm-a1217620a87f66616c15e869d56783ba18e51b12.zip
llvm-a1217620a87f66616c15e869d56783ba18e51b12.tar.gz
llvm-a1217620a87f66616c15e869d56783ba18e51b12.tar.bz2
[unittests] Use std::make_tuple to make some toolchains happy again
My toolchain stopped working (LLVM 8.0, libstdc++ 5.4.0) after 577adda: 06:25:37 ../unittests/Support/Path.cpp:91:7: error: chosen constructor is explicit in copy-initialization 06:25:37 {"", false, false}, {"/", true, true}, {"/foo", true, true}, 06:25:37 ^~~~~~~~~~~~~~~~~~ 06:25:37 /proj/flexasic/app/llvm/8.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: explicit constructor declared here 06:25:37 constexpr tuple(_UElements&&... __elements) 06:25:37 ^ This commit adds explicit calls to std::make_tuple to work around the problem.
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
0 files changed, 0 insertions, 0 deletions