diff options
author | Eric Fiselier <eric@efcs.ca> | 2020-04-09 17:39:40 -0400 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2020-04-09 17:42:10 -0400 |
commit | c6eb584c64872fbb779df14acd31c1f3947f6e52 (patch) | |
tree | f2f5309a56fb04f0f6ae7a7652cdc3ba7ab4e6a3 /llvm/lib/CodeGen/MachineStripDebug.cpp | |
parent | 9c86b83ffc8ffe31d979a5fe18445e943ba7a118 (diff) | |
download | llvm-c6eb584c64872fbb779df14acd31c1f3947f6e52.zip llvm-c6eb584c64872fbb779df14acd31c1f3947f6e52.tar.gz llvm-c6eb584c64872fbb779df14acd31c1f3947f6e52.tar.bz2 |
[libc++] Fix recursive instantiation in std::array.
The use of the `&& ...` fold expression in std::array's deduction guides
recursively builds a set of binary operator expressions of depth N where
`N` is the number of elements in the initializer.
This is problematic because arrays may be large, and instantiation
depth is limited.
This patch addresses the issue by flattening the SFINAE using
the existing `__all` type trait.
Diffstat (limited to 'llvm/lib/CodeGen/MachineStripDebug.cpp')
0 files changed, 0 insertions, 0 deletions