When instantiating anonymous structs/unions within a function, make
sure that the anonymous struct/union record declaration gets
instantiated before the variable declaration, and that it and its
fields (recursively) get entries in the local instantiation map. Fixes
PR7088.

llvm-svn: 104305
2 files changed
tree: bc344f036eb6a8e7616c05dcdd8633e6f4930ebf
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. llvm/