summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2020-04-09 17:39:40 -0400
committerTom Stellard <tstellar@redhat.com>2020-06-26 13:46:12 -0700
commit77d76b71d7df39b573dfa1e391096a040e9b7bd3 (patch)
tree5ffcb85f78ccdcb04080c7d30ab5835878940f0e /llvm/test/CodeGen
parent76ceebb0d96361de2b61bf8e504d306d1f2e492f (diff)
downloadbcm5719-llvm-77d76b71d7df39b573dfa1e391096a040e9b7bd3.tar.gz
bcm5719-llvm-77d76b71d7df39b573dfa1e391096a040e9b7bd3.zip
[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. (cherry picked from commit c6eb584c64872fbb779df14acd31c1f3947f6e52)
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud