Francois Pichet
6f7289d9c5
Add a Microsoft C test following r131201.
...
llvm-svn: 131202
2011-05-11 22:28:19 +00:00
Douglas Gregor
996a735b88
We need a longer long when testing this pathe Microsoft fixed-underlying-type extension for enumeration types
...
llvm-svn: 126250
2011-02-22 21:42:31 +00:00
Douglas Gregor
a1aec29a2d
Enable enumeration types with a fixed underlying type, e.g.,
...
enum X : long { Value = 0x100000000 };
when in Microsoft-extension mode (-fms-extensions). This (now C++0x)
feature has been supported since Microsoft Visual Studio .NET 2003.
llvm-svn: 126243
2011-02-22 20:32:04 +00:00
Francois Pichet
0c71f6c5d3
Microsoft C anonymous struct implementation.
...
Documentation: http://msdn.microsoft.com/en-us/library/z2cx9y4f.aspx
llvm-svn: 120000
2010-11-23 06:07:27 +00:00
Francois Pichet
a310806ae5
Microsoft enum extensions. 2 things will change on -fms-extensions:
...
1. enum underlying type is int by default.
2. Error "enumerator value is not representable in the underlying type"is a ExtWarning
llvm-svn: 116704
2010-10-18 15:01:13 +00:00
Chandler Carruth
a64aedb34b
Remove hard CRLF end-of-line markers from two files. These should be added
...
automatically when syncing due to the auto-props selecting svn:eol-style of
'native'.
llvm-svn: 115758
2010-10-06 06:50:05 +00:00
Francois Pichet
f657b639fd
Microsoft's flexible array rules relaxation:
...
- in union
- as the only element of a struct/class.
llvm-svn: 113909
2010-09-15 00:14:08 +00:00