commit | 5a5b38f4afaf4f203b96a11ba79890c7cd4cc4b8 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sat Mar 12 00:14:31 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sat Mar 12 00:14:31 2011 +0000 |
tree | 6eb8e5b2b7431d07020520ee0a88e85d7001cbf4 | |
parent | c29ea8fb903f9f7e3d8bdf8cb57b87eb3713826b [diff] |
When we're determining whether to complain about a conversion from one enumeration type to another in C, classify enumeration constants as if they had the type of their enclosing enumeration. Fixes <rdar://problem/9116337>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127514 91177308-0d34-0410-b5e6-96231b3b80d8