Commit Graph

745 Commits

Author SHA1 Message Date
Alexis Hunt 61bc173784 Fully implement delegating constructors!
As far as I know, this implementation is complete but might be missing a
few optimizations. Exceptions and virtual bases are handled correctly.

Because I'm an optimist, the web page has appropriately been updated. If
I'm wrong, feel free to downgrade its support categories.

llvm-svn: 130642
2011-05-01 07:04:31 +00:00
Richard Smith 6c42433ceb Update www: clang now supports C++11 for-range and non-template type aliases.
llvm-svn: 129569
2011-04-15 14:38:27 +00:00
Chris Lattner 57540c5be0 fix a bunch of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!

llvm-svn: 129559
2011-04-15 05:22:18 +00:00
Richard Smith fdc33cbecd Name mangling of late-specified return types doesn't work if the return type references the argument types:
template<typename T> auto f(T a) -> decltype(a.foo());

Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work".

llvm-svn: 129533
2011-04-14 19:57:19 +00:00
Ted Kremenek 7114954232 Update public analyzer build to checker-256.
llvm-svn: 129473
2011-04-13 21:48:34 +00:00
John Thompson 9bfba16a66 Added link to LLVM cmake page in Visual Studio section.
llvm-svn: 129013
2011-04-06 18:22:12 +00:00
Richard Smith 13f68cf53e clang has had full and tested support for C++0x trailing-return-type and auto type deduction since r126166. Update the website to reflect this, and add a __has_feature test.
trailing-return-type codegen is not tested yet (name mangling in particular).

llvm-svn: 128787
2011-04-03 14:12:46 +00:00
Jeffrey Yasskin cb40757195 Add a libstdc++-4.4 patch for C++0x to the website.
llvm-svn: 128498
2011-03-29 22:27:50 +00:00
Douglas Gregor 0a1650feae Clang supports __STDC_HOSTED__. Patch by Jonathan Sauer
llvm-svn: 128377
2011-03-27 09:49:38 +00:00
NAKAMURA Takumi 823f3eb142 www/get_started.html: Fix a few URLs.
llvm-svn: 128372
2011-03-27 02:04:21 +00:00
NAKAMURA Takumi 2d60add66c www/hacking.html: Add blurb of LLVM_LIT_TOOLS_DIR.
llvm-svn: 127863
2011-03-18 03:21:44 +00:00
NAKAMURA Takumi 6048f80b1a www/hacking.html: Cosmetic change, to detabify, eliminate whitespace, and add proper slashes to URL.
llvm-svn: 127862
2011-03-18 03:21:38 +00:00
Douglas Gregor 20cbd059d4 Mention an XML printer on the Open Projects page
llvm-svn: 127336
2011-03-09 16:27:48 +00:00
Richard Smith bb7dcf59a0 Update the www to indicate that auto is now implemented.
llvm-svn: 126280
2011-02-23 00:41:16 +00:00
Ted Kremenek dcc45f6ec1 Update text for where to file analyzer bugs.
llvm-svn: 125983
2011-02-18 22:42:04 +00:00
Ted Kremenek ba6ead4bc0 Update static analyzer build to checker-255.
llvm-svn: 125432
2011-02-12 03:20:34 +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
Ted Kremenek 47537b617e Document that set-xcode-analyzer should typically be run using sudo.
llvm-svn: 124602
2011-01-31 20:45:38 +00:00
Ted Kremenek 44dc127f78 Adjust casing of attributes in examples.
llvm-svn: 124445
2011-01-27 22:00:02 +00:00
Ted Kremenek e801399372 Fix download link.
llvm-svn: 124405
2011-01-27 19:49:07 +00:00
Ted Kremenek 8688e078ae Add missing </a>
llvm-svn: 124403
2011-01-27 19:42:34 +00:00
Ted Kremenek cfc9dc6876 Update checker build and post release notes.
llvm-svn: 124402
2011-01-27 19:41:08 +00:00
Ted Kremenek afe348ea43 Wire up attributes 'ns_consumed' and 'cf_consumed' in the static analyzer's ObjC retain/release checker.
llvm-svn: 124386
2011-01-27 18:43:03 +00:00
Ted Kremenek 35389de110 Fix HTML highlighting and add missing line.
llvm-svn: 124362
2011-01-27 07:02:03 +00:00
Ted Kremenek 4272cbdff5 Fix a few typos in HTML documentation.
llvm-svn: 124361
2011-01-27 06:59:29 +00:00
Ted Kremenek 0e89838ced Hook up attribute ns_consumes_self in the ObjC retain/release checker in the static analyzer.
llvm-svn: 124360
2011-01-27 06:54:14 +00:00
Douglas Gregor 9636753d39 Update C++0x status web page
llvm-svn: 124326
2011-01-26 21:35:14 +00:00
Douglas Gregor 52552c8a32 Note the need for --param=build_config=whatever in the Hacking Clang document, from Yuri Gribov
llvm-svn: 124130
2011-01-24 18:04:58 +00:00
Douglas Gregor eecc6bc388 Variadic templates are fully implemented.
Turn on the __has_feature switch for variadic templates, document
their completion, and put the ExtWarn into the c++0x-extensions
warning group.

llvm-svn: 123854
2011-01-19 22:11:50 +00:00
Douglas Gregor cf082adeca Add back the late-specified return type paper
llvm-svn: 122317
2010-12-21 05:54:22 +00:00
Douglas Gregor 6b6e08228c Updates to the C++ status page for C++0x features, from Michael Price
llvm-svn: 122315
2010-12-21 05:43:31 +00:00
Ted Kremenek 1b0340a1dd Update checker build.
llvm-svn: 122051
2010-12-17 07:56:27 +00:00
Michael J. Spencer 7ed7afc8b7 Getting Started: Add VS2010 instructions and specify an out of source build.
llvm-svn: 122003
2010-12-16 22:01:14 +00:00
Chris Lattner bff5d86699 c/objc/c++'98 are basically done, but we want '0x support.
Add "clang indent" as a possible project, we really really 
need it. :)

llvm-svn: 121030
2010-12-06 19:46:27 +00:00
Ted Kremenek 2e3bceafd9 Update analyzer build.
llvm-svn: 120802
2010-12-03 07:52:43 +00:00
Ted Kremenek b360ae4ec5 Update checker build.
llvm-svn: 120487
2010-11-30 23:08:24 +00:00
Ted Kremenek 4490e1015f Update checker build.
llvm-svn: 119318
2010-11-16 01:56:23 +00:00
Chris Lattner 2536851543 typo2
llvm-svn: 119035
2010-11-14 07:30:46 +00:00
Chris Lattner 11a8d05bea fix typo
llvm-svn: 119034
2010-11-14 07:09:32 +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
Ted Kremenek 5fab27aa6c Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" to be consistent with all other snippets on this page.
Patch by Jean-Daniel Dupas!

llvm-svn: 118603
2010-11-09 18:54:17 +00:00
Daniel Dunbar 6b83538ac8 Add link to LLVM releases page.
llvm-svn: 118095
2010-11-02 22:34:04 +00:00
Rafael Espindola 4f8857e6f4 Use objdir != srcdir in the getting started doc.
llvm-svn: 117723
2010-10-29 22:05:17 +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