Chris Lattner
7b0ec8a9df
upgrade various 'implicit int' warnings from an ext-warn to warning when not
...
in C89 mode. This makes it enabled by default instead of only enabled with
-pedantic. Clang defaults to c99 mode, so people will see this more often
than with GCC, but they can always use -std=c89 if they really want c89.
llvm-svn: 65647
2009-02-27 18:53:28 +00:00
Douglas Gregor
b37080a969
Allow multiple Microsoft calling-convention keywords. Fixes rdar://problem/6486133
...
llvm-svn: 62018
2009-01-10 00:48:18 +00:00
Steve Naroff
f192fabbdc
Another tweak to handle the MS extensions (<rdar://problem/5956221>).
...
llvm-svn: 61821
2009-01-06 19:34:12 +00:00
Steve Naroff
1f42c2e94d
Fix <rdar://problem/5956221> clang ObjC rewriter: Microsoft-specific __fastcall keyword unrecognized.
...
This fix is C++ specific.
llvm-svn: 61816
2009-01-06 17:40:00 +00:00
Steve Naroff
f9c29d4200
Add parser support for __forceinline, __w64, __ptr64.
...
llvm-svn: 61431
2008-12-25 14:41:26 +00:00
Steve Naroff
44ac777741
Add parser support for __cdecl, __stdcall, and __fastcall.
...
Change preprocessor implementation of _cdecl to reference __cdecl.
llvm-svn: 61430
2008-12-25 14:16:32 +00:00