Commit Graph

32 Commits

Author SHA1 Message Date
Richard Smith c1e50d5090 Documentation updates for recent changes to VLAs and default-initialization of const-qualified class objects.
llvm-svn: 268600
2016-05-05 02:53:55 +00:00
Richard Smith ab506adf7d Switch C compilations to C11 by default.
This is long-since overdue, and matches GCC 5.0. This should also be
backwards-compatible, because we already supported all of C11 as an extension
in C99 mode.

llvm-svn: 220244
2014-10-20 23:26:58 +00:00
Richard Smith 531c9a0c27 www tweaks to embiggen up our near-complete C++11 and C11 support.
llvm-svn: 176781
2013-03-10 00:11:00 +00:00
Richard Smith 4e483edaf9 Consistently format sample diagnostics on this page.
llvm-svn: 174126
2013-02-01 00:45:12 +00:00
Benjamin Kramer eaa262b5b8 Fix ALL the markup.
llvm-svn: 148219
2012-01-15 15:26:07 +00:00
Alexis Hunt c4f1b4ad30 Make this text slightly more accurate; thanks to Johannes Schaub for
pointing this out.

llvm-svn: 147346
2011-12-29 18:40:13 +00:00
Douglas Gregor 244f7463cb Document the incompatibility that stems from Clang properly implement
the rule that defines the implicit copy constructor/implicit copy
asssignment operator as deleted when a move constructor or move
assignment operator has been explicitly declared. This has hit a
number of people because Boost 1.47.0's shared_ptr fails to declare a
copy constructor.

llvm-svn: 140621
2011-09-27 18:58:27 +00:00
Jay Foad 0b16695d93 Hyphenate "argument-dependent".
llvm-svn: 132989
2011-06-14 12:59:25 +00:00
Richard Smith 998a591e32 Fix PR10053: Improve diagnostics and error recovery for code which some compilers incorrectly accept due to a lack of proper support for two-phase name lookup.
llvm-svn: 132672
2011-06-05 22:42:48 +00:00
John McCall 2bd04c3114 More tweaks to the compatibility page.
llvm-svn: 124792
2011-02-03 11:29:18 +00:00
John McCall 93adb039b5 More minor documentation tweaks.
llvm-svn: 124791
2011-02-03 11:05:04 +00:00
John McCall 37d30c93ca Rework the __block jump-checking section, including a justification of
why this bug can go uncaught.

llvm-svn: 124790
2011-02-03 10:56:31 +00:00
John McCall 55199a63df Rework and embellish the C99 inline compatibility section.
llvm-svn: 124789
2011-02-03 10:16:40 +00:00
Chris Lattner 3bb7aab0b0 add a note about inline asm compatibility.
llvm-svn: 118740
2010-11-10 23:51:50 +00:00
Douglas Gregor 4640a18cf4 Document a language-compatibility issue with function parameter names in function prototypes in C++
llvm-svn: 118712
2010-11-10 20:24:21 +00:00
Daniel Dunbar 4b496bc35a Add a compat note about how Clang doesn't zero-initialize __block local variables.
llvm-svn: 118641
2010-11-09 22:45:16 +00:00
Eric Christopher 55f21aae85 Add and describe a quick script to migrate gcc builtins that clang doesn't
know about to the default APIs for x86 vector operations.

llvm-svn: 117313
2010-10-25 21:17:59 +00:00
Fariborz Jahanian 2b427c7fb0 Update compatibility page for objective-c.
llvm-svn: 117168
2010-10-22 22:35:51 +00:00
Chris Lattner e3c1b9317a add a compatibility note about vector builtins
llvm-svn: 114101
2010-09-16 18:17:55 +00:00
Argyrios Kyrtzidis cebc0f006f Add a compatibility note about clang not implicitly converting between objc_object* and id (and SEL, Class).
llvm-svn: 113761
2010-09-13 17:48:07 +00:00
Douglas Gregor a139692ada Update documentation to reflect the addition of support for in-class
initialization of static const floating-point data membmers (John's
patch, in r113663).

llvm-svn: 113701
2010-09-11 20:30:02 +00:00
Daniel Dunbar 90dc0c574d Fix a typo.
llvm-svn: 112926
2010-09-03 00:41:43 +00:00
Daniel Dunbar 5dc823f7ef Add a compatibility note about why Clang rejects jumps past __block variables.
llvm-svn: 112865
2010-09-02 21:35:16 +00:00
Fariborz Jahanian 0150367c27 Update documentation regarding use of 'class' in
property-dot syntax.

llvm-svn: 110841
2010-08-11 18:57:26 +00:00
Douglas Gregor d537dc022a Update diagnostic on compatibility page to reflect reality
llvm-svn: 107382
2010-07-01 03:50:01 +00:00
Douglas Gregor 3671ad4571 Revert r107374, which broke bootstrap.
llvm-svn: 107378
2010-07-01 03:28:42 +00:00
Douglas Gregor c6e4c68371 When building the type of a destructor, make sure to keep the
exception specification. Fixes PR7526.

llvm-svn: 107374
2010-07-01 02:33:15 +00:00
Douglas Gregor 56f2e34a6a Improve diagnostic when we fail to pick an overload because it would
require a base-to-derived pointer conversion.

llvm-svn: 107349
2010-06-30 23:01:39 +00:00
Douglas Gregor 5396853d81 Wording tweak from Dan.
llvm-svn: 107344
2010-06-30 22:43:03 +00:00
Douglas Gregor 426c572d78 Wording tweak from Dan.
llvm-svn: 107343
2010-06-30 22:38:37 +00:00
Benjamin Kramer aab931dd32 typo.
llvm-svn: 107342
2010-06-30 22:29:56 +00:00
Douglas Gregor 9c9f26d4bf New language-compatibility page, including language-compatibility information for the various language dialects Clang supports in a single, easy-to-find page
llvm-svn: 107325
2010-06-30 22:01:08 +00:00