diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-04-26 01:02:18 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-04-26 01:02:18 +0000 |
| commit | 7e528bc4ce51daae5b90bf641f15ea564901de8b (patch) | |
| tree | dcbce5acb5b1133b8608ebc91ceedc0ec9530eb6 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp | |
| parent | 1b76063a5e023b39b4a395d7fc68fd5fe1e6aba3 (diff) | |
| download | llvm-7e528bc4ce51daae5b90bf641f15ea564901de8b.zip llvm-7e528bc4ce51daae5b90bf641f15ea564901de8b.tar.gz llvm-7e528bc4ce51daae5b90bf641f15ea564901de8b.tar.bz2 | |
Fix return type of std::tuple_cat.
When the arguments to tuple cat were const, the const was incorrectly
propagated into the type of the resulting tuple. For example:
const std::tuple<int> t(42);
auto r = std::tuple_cat(t, t);
// Incorrect! should be std::tuple<int, int>.
static_assert(is_same_v<decltype(r), std::tuple<const int, const int>>);
llvm-svn: 359255
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp')
0 files changed, 0 insertions, 0 deletions
