Akira Hatanaka 7c55265c2d [CodeGen] Fix a crash that occurs when a non-trivial C struct with a
volatile array field is copied.

The crash occurs because method 'visitArray' passes a null FieldDecl to
method 'visit' and some of the methods called downstream expect a
non-null FieldDecl to be passed.

This reapplies r330151 with a fix to the test case.

rdar://problem/33599681

llvm-svn: 330155
2018-04-16 20:23:52 +00:00
..
2017-04-14 01:00:03 +00:00
2016-12-19 02:55:53 +00:00
2014-02-16 07:28:32 +00:00
2014-11-06 13:30:38 +00:00
2013-12-03 14:46:31 +00:00
2014-03-29 15:09:45 +00:00