On Fri, Aug 17, 2012 at 11:23 PM, Sergejs Belajevs <sergejs.belajevs at gmail.com> wrote: > but it doesn't work (VisitRecordType isn't get called) for code like: > > void foo() > { > union { int a; }; > a = 5; > } Is that valid code? clang gives errors with the default options.