commit | 3343fad1f1ec81af43674b76eddbe9ab10e344eb | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Mar 23 23:09:08 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Mar 23 23:09:08 2012 +0000 |
tree | 023a7b07425bdaf35e68ff80d75c6205c74dbfb6 | |
parent | ad8d8a31b010ceac4cad2553f16fc1a77c4b2e5e [diff] |
When defining a forward-declared enum, don't try to attach the definition to a previous declaration if the redeclaration is invalid. That way lies madness. Fixes a crash-on-invalid reported by Abramo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153349 91177308-0d34-0410-b5e6-96231b3b80d8