[Hexagon] Make sure to pass empty struct arguments with nontrivial ctors
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 12 May 2017 13:18:07 +0000 (13:18 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 12 May 2017 13:18:07 +0000 (13:18 +0000)
commit408b272a006a32b4b57ea56bd50f738bea4b5054
tree9aad28cab4fd976288c63d5522de449f82951dc4
parent7f03231cc6bb5cfd5245e9edf9a06d7d3486a3d4
[Hexagon] Make sure to pass empty struct arguments with nontrivial ctors

Thanks to Richard Smith for the suggested fix.

This fixes llvm.org/PR33009

llvm-svn: 302895
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGenCXX/array-default-argument.cpp