diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-23 23:09:08 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-23 23:09:08 +0000 |
commit | 3343fad1f1ec81af43674b76eddbe9ab10e344eb (patch) | |
tree | 023a7b07425bdaf35e68ff80d75c6205c74dbfb6 /lib/CodeGen/CodeGenFunction.h | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions