commit | b6adf2c889bb17c1be44e6c8e67e3b2762e9cecc | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu May 05 16:13:52 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu May 05 16:13:52 2011 +0000 |
tree | 879b9eca65b87e21118c0aa6a38cedfba2b58c23 | |
parent | 4b81cde48b8b56c219e8d665884f5f33139b5eca [diff] |
Scoped enumerations should not be treated as integer types (in the C sense). Fixes <rdar://problem/9366066> by eliminating an inconsistency between C++ overloading (which handled scoped enumerations correctly) and C binary operator type-checking (which didn't). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130924 91177308-0d34-0410-b5e6-96231b3b80d8