diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-12 02:00:36 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-12 02:00:36 +0000 |
commit | 1d248c53ab1c5f84748f508017db55fe8e0fcbff (patch) | |
tree | c87a0be27ef385e0711a06d1629d12cab584100a /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 9c2d26d2081721b030e006ca31b23efe6b5f0ba8 (diff) | |
download | bcm5719-llvm-1d248c53ab1c5f84748f508017db55fe8e0fcbff.tar.gz bcm5719-llvm-1d248c53ab1c5f84748f508017db55fe8e0fcbff.zip |
In C++, set the type of each of the enumerators in an enumeration to
the type of the enumeration once the enumeration has been defined.
Fix the overloading test-case to properly create enums that promote
the way we want them to.
Implement C++0x promotions from enumeration types to long
long/unsigned long long. We're using these promotions in Carbon.h
(since long long is a common extension).
Fixes PR clang/2954: http://llvm.org/bugs/show_bug.cgi?id=2954
llvm-svn: 60917
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions