Aaron Ballman
96e7c09cad
Turned on support for __declspec(deprecated) in MS compatibility mode.
...
llvm-svn: 151225
2012-02-23 01:19:31 +00:00
Eli Friedman
59e41d046e
Shift Microsoft enum extensions from -fms-extensions to -fms-compatibility, so -fms-extensions doesn't affect enum semantics in incompatible ways. <rdar://problem/10657186>.
...
llvm-svn: 150663
2012-02-16 05:20:44 +00:00
Nico Weber
f8bb3de488
Fix crash on invalid in microsoft anonymous struct extension.
...
Fixes PR11847. Patch from Jason Haslam!
llvm-svn: 149460
2012-02-01 00:41:00 +00:00
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