]> granicus.if.org Git - clang/commit
Fix PR2020 by recovering by defining an anonymous enum, instead of recovering
authorChris Lattner <sabre@nondot.org>
Thu, 3 Jul 2008 03:30:58 +0000 (03:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Jul 2008 03:30:58 +0000 (03:30 +0000)
commit14943b90d99d6f695a4aee70c5d26086639261c5
tree76f1ace176ce8fe0a5c50623f26df1e416e05f57
parent90a929e240db04a464ee84ff1a746c6f826d5c25
Fix PR2020 by recovering by defining an anonymous enum, instead of recovering
by filling in the body of a union with enum constants.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/enum.c