commit | 38f0df352fadc546c5666079fb22de5ec1819d92 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Mar 26 04:58:10 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Mar 26 04:58:10 2012 +0000 |
tree | 1713e0b3b1c2a38a49ec508e8f5d92283ed739b3 | |
parent | 4ca93d9978aac02b01814b4f749d6903a1f87ee5 [diff] |
Handle instantiations of redeclarations of forward-declared enumerations within templated functions. Build a redeclaration chain, and only instantiate the definition of the enum when visiting the defining declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153427 91177308-0d34-0410-b5e6-96231b3b80d8