summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-06-14 01:13:21 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-06-14 01:13:21 +0000
commitd62d498ed7c27e2b9f0f2d3b5ffe10fd9201d146 (patch)
treecdf300510e14145695c0730cb6371d246e3aa8b4 /libcxx/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp
parent5669ef1efee4943dd3e4c6eadbe06955a2e2f9f7 (diff)
downloadbcm5719-llvm-d62d498ed7c27e2b9f0f2d3b5ffe10fd9201d146.tar.gz
bcm5719-llvm-d62d498ed7c27e2b9f0f2d3b5ffe10fd9201d146.zip
Remove nonsense and simplify. To forward a reference, we always just load the
pointer-to-pointer representing the parameter. An aggregate rvalue representing a pointer does not make sense. We got away with this weirdness because CGCall happens to blindly load an RValue in aggregate form in this case, without checking whether an RValue for the type should be in scalar or aggregate form. llvm-svn: 272609
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud