]> granicus.if.org Git - clang/commit
Clean up enum constants so that they're finally sane. Fixes PR3173 and a
authorEli Friedman <eli.friedman@gmail.com>
Thu, 10 Dec 2009 22:29:29 +0000 (22:29 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 10 Dec 2009 22:29:29 +0000 (22:29 +0000)
commit29a7f3342c3c6dd15d914c61ae22246c36d51ce7
tree6860b347941546f39f15f2cd9effa7fe240d9d68
parent548e60efea9a1d2c31679e11e9ff0d2f19b96694
Clean up enum constants so that they're finally sane.  Fixes PR3173 and a
recently introduced crash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91070 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
lib/AST/ExprConstant.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/enum.cpp [new file with mode: 0644]