commit | 9901c57806f7e36736ed1616e6ab3eebcc99b78c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri May 21 00:31:19 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri May 21 00:31:19 2010 +0000 |
tree | 7d532fc130ac8fe817cdf593a0cf44033fe38d74 | |
parent | 073190dcb6f8186cfcc3ebb65c2802d2024729b0 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104305 91177308-0d34-0410-b5e6-96231b3b80d8