]> granicus.if.org Git - clang/commit
Make sure we perform lvalue-to-rvalue conversions for enum initializers. PR11484.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 6 Dec 2011 00:10:34 +0000 (00:10 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 6 Dec 2011 00:10:34 +0000 (00:10 +0000)
commit19efa3ee5a7f2232884f9cca6871329ffe85653c
tree8d5d743216f9d667f7d821059c557748ed1b2ae3
parentec236787c5868eef53a807ca1a68b6b0b8c604c6
Make sure we perform lvalue-to-rvalue conversions for enum initializers.  PR11484.

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