aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/TapiFile.cpp
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-09-20 12:13:12 +0000
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-09-20 12:13:12 +0000
commit169cb63478aa047451786d8ccf6af4b721e3b271 (patch)
tree58dcd49bf98ed04aeabb859bdbccaecb25afb6b6 /llvm/lib/Object/TapiFile.cpp
parent03475adcf720cdecf50cae7ef17c9b70883115df (diff)
downloadllvm-169cb63478aa047451786d8ccf6af4b721e3b271.zip
llvm-169cb63478aa047451786d8ccf6af4b721e3b271.tar.gz
llvm-169cb63478aa047451786d8ccf6af4b721e3b271.tar.bz2
[AMDGPU] Use std::make_tuple to make some toolchains happy again
My toolchain stopped working (LLVM 8.0 , libstdc++ 5.4.0) after r372338. The same problem was seen in clang-cuda-build buildbots: clang-cuda-build/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:763:12: error: chosen constructor is explicit in copy-initialization return {Reg, 0, nullptr}; ^~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: explicit constructor declared here constexpr tuple(_UElements&&... __elements) ^ This commit adds explicit calls to std::make_tuple to work around the problem. llvm-svn: 372384
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions