]> granicus.if.org Git - clang/commit
[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)
commita1aa489a8005eb44cd6b103d582ae37a1b5eb052
tree10537865669ebf12a51e3c9c2801c8c220c0109d
parent53df6f973c0c33b3520e9ee5cd9fde927c7f346f
[Hexagon] Make sure to pass empty struct arguments with nontrivial ctors

Thanks to Richard Smith for the suggested fix.

This fixes llvm.org/PR33009

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGenCXX/array-default-argument.cpp