OSDN Git Service

Don't use "return {...}" to initialize a std::tuple. This has only been valid
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:21:58 +0000 (22:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:21:58 +0000 (22:21 +0000)
commit0f97be8885190dbf99e3de61cedde1150f3738dd
tree095a96c5414c5b9960a7bcbafd1486687691be05
parentb688511ea5fac9b986f3e639df600c10e78d38a9
Don't use "return {...}" to initialize a std::tuple. This has only been valid
since 2015 (n4387), though it's allowed by a library DR so new implementations
accept it in their C++11 modes...

This should unbreak the build with libstdc++ 4.9.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/MachineLegalizer.cpp