aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSamira Bazuzi <bazuzi@google.com>2022-11-30 12:48:42 -0800
committerJordan Rupprecht <rupprecht@google.com>2022-11-30 12:48:42 -0800
commitf039a2cf107a143ea2c0cf3f2a88ec2400421287 (patch)
tree597c7c69cba89b6c1b76109644660fc7c7086376 /llvm/lib/CodeGen/CodeGen.cpp
parentb5467ecc0f3b22082023e99412d4148ac41530be (diff)
downloadllvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.zip
llvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.tar.gz
llvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.tar.bz2
[test] Fix aggregate initialization incompatible with c++20
In C++20, types that declare or delete any constructors are no longer aggregates, breaking compilation of many existing uses of aggregate initialization. In this test, provide a one-arg constructor so that `StructWithoutCopyOrMove{1}` still works.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions