Benjamin Kramer
a49705e5b8
WWW: Force word wrapping of the content to avoid horizontal scrolling.
...
This isn't perfect but avoids overlap of the menu and the content.
llvm-svn: 162903
2012-08-30 13:12:02 +00:00
Rafael Espindola
1af8aadf11
Small change to avoid confusion on what "used by" means for a compiler.
...
Patch by Jonathan Sauer.
llvm-svn: 161897
2012-08-14 21:58:29 +00:00
Chandler Carruth
72af8c3c6f
Add initial documentation about the new tools repository and the
...
structure of how we're building concrete tools as well as tooling
infrastructure as part of the Clang project.
This documentation is definitely still rough. If anyone can improve it,
flesh it out, or help structure it in a more natural way, please, help!
=] This is not my forte, and patches here are more than welcome!
llvm-svn: 161855
2012-08-14 07:19:09 +00:00
Chandler Carruth
18d674522d
Clean up the basic instructions for getting started with clang to always
...
return to the same directory.
llvm-svn: 161823
2012-08-14 00:41:30 +00:00
Chris Lattner
b35f34105e
clarify that the advantages of the BSD license apply to when you incorporate clang into proprietary code bases,
...
patch by Jonathan Sauer.
llvm-svn: 161475
2012-08-08 05:26:51 +00:00
Eric Christopher
d15385c9e4
Add some missing functions to builtins.py.
...
rdar://10112601
llvm-svn: 161227
2012-08-03 00:13:44 +00:00
Sylvestre Ledru
a5202660fb
Fix some minor typos
...
llvm-svn: 161036
2012-07-31 06:56:50 +00:00
Sylvestre Ledru
830885ca64
Fix a typo (the the => the)
...
llvm-svn: 160622
2012-07-23 08:59:39 +00:00
Ted Kremenek
a8c2c10f16
Place checker build at alternate URL.
...
llvm-svn: 160247
2012-07-16 04:18:35 +00:00
Richard Trieu
e753f4bebd
Update documentation with regards to template type diffing.
...
llvm-svn: 159249
2012-06-27 02:00:20 +00:00
Anna Zaks
f5cad928f5
Make the analyzer site a single point of reference for info
...
on controlling diagnostics.
llvm-svn: 158581
2012-06-16 00:30:21 +00:00
Anna Zaks
2ae781f9e3
[analyzer] WWW: Shorten the menu title.
...
llvm-svn: 158356
2012-06-12 13:18:20 +00:00
Anna Zaks
130adbc5a3
[analyzer] WWW: Add FAQ to the menu.
...
llvm-svn: 158335
2012-06-11 22:35:53 +00:00
Anna Zaks
8a87c12355
[analyzer] WWW: FAQ - fix the assertion use example.
...
llvm-svn: 158333
2012-06-11 22:09:48 +00:00
Anna Zaks
0560cc0591
[analyzer] The FAQ question style shouldn't be the same as code_example.
...
llvm-svn: 158332
2012-06-11 22:09:46 +00:00
Anna Zaks
c1e3568e7d
[analyzer] WWW: Add table of contents, fixed code examples.
...
llvm-svn: 158331
2012-06-11 22:09:44 +00:00
Anna Zaks
67bd96479e
[analyzer] WWW: Mention that we do not support "noreturn" for methods.
...
llvm-svn: 158330
2012-06-11 22:09:41 +00:00
Ted Kremenek
2d7fc64274
Add CSS style for FAQ questions, and restate FAQ questions as actual questions.
...
llvm-svn: 158282
2012-06-09 20:10:45 +00:00
Ted Kremenek
41bf2cc177
Wordsmith a bit, and turn </h1> into </h4> when appropriate.
...
llvm-svn: 158281
2012-06-09 20:10:42 +00:00
Anna Zaks
ab24b83b01
[analyzer] FAQ page fixup
...
llvm-svn: 158254
2012-06-09 01:05:01 +00:00
Anna Zaks
40d64fcd55
[analyzer] Add FAQ and How to Deal with Common False Positives page
...
Still not linked in; comments and additions are very welcome.
llvm-svn: 158253
2012-06-09 01:04:54 +00:00
Ted Kremenek
ac80f60eed
Update checker build.
...
llvm-svn: 157844
2012-06-01 21:51:15 +00:00
Manuel Klimek
5d9e8362df
Links the entry point to the tooling documentation into clang's menu bar.
...
llvm-svn: 157462
2012-05-25 08:39:21 +00:00
Richard Smith
cff136cda8
Release notes update for -Wsometimes-uninitialized.
...
llvm-svn: 157459
2012-05-25 02:35:34 +00:00
Ted Kremenek
4ab452d061
Update checker build.
...
llvm-svn: 157339
2012-05-23 19:57:38 +00:00
Richard Smith
607d631d64
Clang 3.1 is out: turn the relevant C++11 status boxes green.
...
llvm-svn: 157308
2012-05-23 01:38:11 +00:00
Chandler Carruth
cc3123174c
Clarify how libstdc++ and other bits of the system toolchain are found
...
on Linux in the getting started documentation.
Patch by Nathan Ridge.
llvm-svn: 156911
2012-05-16 08:18:58 +00:00
Anna Zaks
951949723d
[analyzer]Extend the available checks list and the release notes for 264
...
llvm-svn: 156488
2012-05-09 17:57:16 +00:00
Ted Kremenek
25498d0afa
Fix Engrish.
...
llvm-svn: 156465
2012-05-09 06:29:38 +00:00
Ted Kremenek
9133c34a2a
Fix typo.
...
llvm-svn: 156462
2012-05-09 04:35:15 +00:00
Ted Kremenek
368aad45d7
Update checker build.
...
llvm-svn: 156449
2012-05-09 00:08:47 +00:00
Ted Kremenek
2fda5a1e90
Update checker build link, and remove stale links.
...
llvm-svn: 155622
2012-04-26 07:29:14 +00:00
Benjamin Kramer
2484772c14
Better C++11 support is no longer an advantage of GCC.
...
llvm-svn: 155312
2012-04-22 11:34:43 +00:00
Benjamin Kramer
134ce10dbf
c++11 status: Replace references to "SVN" with "3.1" to avoid confusion when they diverge.
...
Color is still yellow, as 3.1 isn't released yet.
llvm-svn: 155217
2012-04-20 18:43:50 +00:00
Richard Smith
3c90f01bf0
In an attempt to reduce confusion, mark 'Strong compare exchange' as done, since
...
we generate correct code for both strong and weak atomic compare-exchanges, even
though we don't propagate to the IR enough information to generate optimal weak
compare-exchanges on architectures which support them.
llvm-svn: 155161
2012-04-19 22:09:22 +00:00
Richard Smith
f5520aebb1
Link to a tiny patch to libstdc++-4.7 to work around the <chrono> issues
...
from the C++ status page.
llvm-svn: 154890
2012-04-17 01:04:22 +00:00
Eli Friedman
250ae4a775
Add note to hacking.html that running the test harness directly from the command-line requires making sure the relevant files are generated first. Patch by Matt Fowles, with some minor modifications.
...
llvm-svn: 154795
2012-04-16 05:04:45 +00:00
Richard Smith
d3b64878ff
Now that we provide sufficient support for three C11/C++11 atomics
...
implementations, mark the atomics-related parts of the C++11 status page
as done. I've not marked 'Strong Compare and Exchange' done, since although
we implement supporting builtins, we don't yet produce different code for
the weak and strong forms.
llvm-svn: 154644
2012-04-13 01:02:19 +00:00
Douglas Gregor
0598962a7b
Add a query macro for C++11 N3276, decltype does not require complete
...
return types, from Michel Morin!
llvm-svn: 154428
2012-04-10 20:00:33 +00:00
Richard Smith
6da64f39d4
Forward-declared enumerations are now complete, except for an interaction
...
between unscoped enumerations and class template member specializations,
whose behavior is currently under discussion in CWG (and for which there
is a preference to not implement the currently-standardized wording).
llvm-svn: 153464
2012-03-26 20:31:41 +00:00
Richard Smith
34bd1eb560
Revert accidentally-committed www changes (and an unused diagnostic);
...
forward-declared enums aren't /quite/ done yet.
llvm-svn: 153350
2012-03-23 23:11:49 +00:00
Richard Smith
b66d77793f
When defining a forward-declared enum, don't try to attach the definition to
...
a previous declaration if the redeclaration is invalid. That way lies madness.
Fixes a crash-on-invalid reported by Abramo.
llvm-svn: 153349
2012-03-23 23:09:08 +00:00
Ted Kremenek
888ac96f2b
Update checker build.
...
llvm-svn: 153312
2012-03-23 07:06:16 +00:00
Richard Smith
eb38bf549d
Update front page to indicate that we do, in fact, support some of C++11.
...
llvm-svn: 153246
2012-03-22 08:15:13 +00:00
Ted Kremenek
11f208468e
Update checker build.
...
llvm-svn: 152871
2012-03-15 23:02:21 +00:00
Richard Smith
4b38ded66a
Instantiating a class template should not instantiate the definition of any
...
scoped enumeration members. Later uses of an enumeration temploid as a nested
name specifier should cause its instantiation. Plus some groundwork for
explicit specialization of member enumerations of class templates.
llvm-svn: 152750
2012-03-14 23:13:10 +00:00
Richard Smith
6d244d754b
cxx_status: No compiler changes are required for 'minimal support for garbage
...
collection'. Keep it in the table to match gcc's table, but mark it N/A.
llvm-svn: 152528
2012-03-11 03:06:00 +00:00
Richard Smith
2a70e65436
Improve diagnostics for UCNs referring to control characters and members of the
...
basic source character set in C++98. Add -Wc++98-compat diagnostics for same in
literals in C++11. Extend such support to cover string literals as well as
character literals, and mark N2170 as done.
This seems too minor to warrant a release note to me. Let me know if you disagree.
llvm-svn: 152444
2012-03-09 22:27:51 +00:00
Richard Smith
5023188315
User-defined literals are done.
...
llvm-svn: 152396
2012-03-09 08:41:27 +00:00
Richard Smith
522fa53703
Add a pile of tests for unrestricted unions, and advertise support for them.
...
llvm-svn: 151992
2012-03-03 23:51:05 +00:00
Ted Kremenek
205fbeb54a
Fix documentation typo.
...
llvm-svn: 151573
2012-02-27 21:40:10 +00:00
Sebastian Redl
d89c218a2b
Initializer lists are now supported.
...
llvm-svn: 151458
2012-02-25 20:51:27 +00:00
Richard Smith
18743deb21
cxx_status: Consistently refer to C++11 as "C++11", not as "C++'11" nor as
...
"C++0x". Use "C++98" to refer to C++98, not "C++". Add heading for C++98
support section.
llvm-svn: 151381
2012-02-24 18:42:08 +00:00
Richard Smith
4e8376279d
cxx_status: extended sizeof has been essentially complete for some time. As
...
agreed on IRC, any remaining issues are best dealt with as bugs.
We have no __has_feature check for this; please shout if you'd like one. This
feature seems too small to be worth its own release notes bullet (again, please
shout if you disagree).
llvm-svn: 151380
2012-02-24 18:37:14 +00:00
Anna Zaks
fa31b8ef10
[analyzer] Add CString checks to the release notes.
...
llvm-svn: 151286
2012-02-23 21:38:14 +00:00
Douglas Gregor
a2bd11f2de
Tweak C++ status table:
...
- Apparently, SVN is yellow
- Note that initializer lists are "in progress"
llvm-svn: 151232
2012-02-23 03:10:24 +00:00
Douglas Gregor
34b2e8bb17
Clang now supports lambda expressions.
...
llvm-svn: 151231
2012-02-23 03:02:32 +00:00
Ted Kremenek
8634d73e17
Tweak release note comments for checker build.
...
llvm-svn: 151219
2012-02-23 00:48:17 +00:00
Ted Kremenek
5467b05f5a
Update checker build to checker-261.
...
llvm-svn: 151218
2012-02-23 00:47:09 +00:00
Richard Smith
b9a7efd791
I hereby declare that all remaining constexpr issues are bugs, not unimplemented
...
features. :)
llvm-svn: 150522
2012-02-14 22:39:23 +00:00
Benjamin Kramer
5998c035ba
Getting Started: Add a missing "cd ../..".
...
llvm-svn: 150181
2012-02-09 16:04:50 +00:00
Aaron Ballman
759c2a4360
Updated information on how to perform command line testing on Windows when built from MSVC.
...
llvm-svn: 150180
2012-02-09 15:23:18 +00:00
Ted Kremenek
1ca6ce5a22
Post link to checker-260, which is checker-259 with some experimental checks enabled.
...
llvm-svn: 149032
2012-01-26 03:02:34 +00:00
Ted Kremenek
807f7e38a9
Post open source analyzer build checker-259.
...
llvm-svn: 148988
2012-01-25 22:18:04 +00:00
Anna Zaks
03e0651ff3
[analyzer] www: A minor cleanup to the dev manual.
...
llvm-svn: 148514
2012-01-20 00:11:04 +00:00
Benjamin Kramer
eaa262b5b8
Fix ALL the markup.
...
llvm-svn: 148219
2012-01-15 15:26:07 +00:00
Richard Smith
173b94c9ac
Revert accidentally-committed file in r148020.
...
llvm-svn: 148021
2012-01-12 06:10:09 +00:00
Richard Smith
02ab9c2940
Allow constant-folding of references which were formed in a manner not permitted
...
in a constant expression, for compatibility with g++.
llvm-svn: 148020
2012-01-12 06:08:57 +00:00
Anna Zaks
8e2fc5c5e9
[analyzer] Update the docs to reflect that gcc is not the only default
...
compiler option.
llvm-svn: 147645
2012-01-06 01:54:08 +00:00
Ted Kremenek
cc0cf90953
Add missing #endif in documentation.
...
llvm-svn: 147556
2012-01-04 22:35:02 +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
Anna Zaks
e87ad4625c
[analyzer] More www; document ProgramState->dump().
...
llvm-svn: 146049
2011-12-07 19:04:27 +00:00
Anna Zaks
db0e17336d
[analyzer] Update the checker writer manual with explanation of SVals
...
and the link to checker callback documentation.
SVal, SymExpr, MemRegion description is a slightly edited version of
Ted's reply to a question on cfe-dev list.
llvm-svn: 146048
2011-12-07 19:04:24 +00:00
Daniel Dunbar
2931cd9cf9
www: Update getting started to encourage people to check out compielr-rt.
...
llvm-svn: 146014
2011-12-07 03:04:42 +00:00
Douglas Gregor
328d8d255e
Tweak the guidelines for when one should send patches to cfe-commits vs. cfe-dev
...
llvm-svn: 145000
2011-11-19 19:14:26 +00:00
Chandler Carruth
74f0df442b
Stop claiming that Visual Studio 2005 is a viable basis for building
...
Clang. It isn't any more, and we're not going to twist the code around
to make it work.
llvm-svn: 144815
2011-11-16 19:29:07 +00:00
Matt Beaumont-Gay
4703a29e4a
Remove duplicate listings for core.DivideZero
...
llvm-svn: 143969
2011-11-07 18:00:03 +00:00
David Blaikie
103a3a03a2
Colorize. (this is consistent with the coloring in diagnostics.html, but perhaps that's a bit out of date because it doesn't look like current clang behavior)
...
llvm-svn: 143913
2011-11-07 06:28:33 +00:00
Anna Zaks
82a5b7bd25
[analyzer] Add the Checker Developer Manual to the menu.
...
It's still under construction but has enough info to be useful.
llvm-svn: 143912
2011-11-07 05:40:51 +00:00
Anna Zaks
5259086b8e
[analyzer] Add overview and checker registration to the checker developer manual.
...
llvm-svn: 143911
2011-11-07 05:36:29 +00:00
Benjamin Kramer
1c9e158120
Fix markup weirdness.
...
llvm-svn: 143803
2011-11-05 10:11:36 +00:00
Anna Zaks
2ad0b0f815
[analyzer] Add the list of available checkers to the website.
...
llvm-svn: 143788
2011-11-05 05:20:54 +00:00
Douglas Gregor
324dbd3b83
Don't encourage bug reports to the Clang mailing list. We have a bug
...
report link for that.
llvm-svn: 143581
2011-11-02 22:49:47 +00:00
Anna Zaks
75a3f48cac
[analyzer] Start writing Checker Developer Manual.
...
So far added the skeleton + several more or less complete sections:
Getting Started
Idea for a Checker
AST Visitors
Useful Commands/Debugging Hints
llvm-svn: 143554
2011-11-02 17:49:20 +00:00
David Blaikie
503616199f
Fixing some dead links. Patch by Jean-Daniel Dupas!
...
llvm-svn: 143539
2011-11-02 15:13:40 +00:00
Michael J. Spencer
e73bd64d12
Add colors to the C++11 status page.
...
llvm-svn: 143535
2011-11-02 06:29:37 +00:00
Douglas Gregor
7ff1e7ed68
Deleted functions were in Clang 2.9, defaulted functions in
...
3.0. Fixses PR11252.
llvm-svn: 143216
2011-10-28 19:44:09 +00:00
Douglas Gregor
3d711633a3
Tweak the C++11 status prose a bit. We still need better user guidance on the standard library issue
...
llvm-svn: 142019
2011-10-14 23:35:48 +00:00
Douglas Gregor
1f64b59872
Switch the C++11 status table from a developer-centric list to a
...
user-centric list, with Clang version numbers, following GCC's lead
(and user requests).
llvm-svn: 142015
2011-10-14 23:21:49 +00:00
David Blaikie
e35b3aae52
Updating the Clang website to refer to C++'11 instead of C++'0x
...
llvm-svn: 141949
2011-10-14 07:58:10 +00:00
Ted Kremenek
0368ae071a
Update open source static analyzer build.
...
llvm-svn: 141943
2011-10-14 04:15:19 +00:00
Sebastian Redl
6ce53ae752
Now that we support move generation, mention this in the language extension and C++ status pages. Also update the C++ status for default functions, which are complete now that we can generate move functions, and destructor exception specifications, which I did a while ago.
...
llvm-svn: 141558
2011-10-10 18:10:00 +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
Craig Topper
93b3e848de
Update C++0x status page to reflect support for raw string literals.
...
llvm-svn: 137299
2011-08-11 04:09:26 +00:00
Benjamin Kramer
f7bb3e5bd0
Fix HTML.
...
llvm-svn: 137010
2011-08-06 03:04:45 +00:00
Chris Lattner
3f3b6f4c80
give an example of a 'lowered vtable reference'
...
llvm-svn: 136780
2011-08-03 15:54:40 +00:00
Douglas Gregor
9bcdc82642
Update C++0x status page to reflect support for unicode string and character literals, from Craig Topper
...
llvm-svn: 136216
2011-07-27 15:10:09 +00:00
Douglas Gregor
d99d49c6cb
Easier debugging with Visual Studio Visualizers, from Nikola Smiljanic!
...
llvm-svn: 136207
2011-07-27 05:22:46 +00:00
Douglas Gregor
918f98ab42
Update C++0x status for explicit override controls and explicit
...
conversion operators, from Jonathan Sauer.
llvm-svn: 135932
2011-07-25 18:53:48 +00:00
NAKAMURA Takumi
b44cd82d90
www/get_started.html: Fix a phrase, "in the *build* directory* in the instructions of Visual Studio. Thanks to Andreas Bittel to point it out.
...
llvm-svn: 135907
2011-07-25 12:40:26 +00:00
Chris Lattner
640eddea29
add link to 2010 dev mtg
...
llvm-svn: 135892
2011-07-24 21:00:45 +00:00
Douglas Gregor
c14b763865
Add a link-friendly name to the Clang extension acceptance criteria
...
llvm-svn: 135859
2011-07-23 19:22:17 +00:00
Douglas Gregor
da2f675c5c
Document the criteria for evaluating a proposed extension to Clang.
...
llvm-svn: 135858
2011-07-23 19:21:07 +00:00
Richard Smith
42a4996b5a
Update cxx_status page on www: clang has had full support for in-class initializers since r132890.
...
llvm-svn: 135689
2011-07-21 18:02:57 +00:00
Douglas Gregor
17aa45d431
Clean up the C++ status page by eliminating the utterly unnecessary set of projects. C++98/03 is sooooo yesterday
...
llvm-svn: 135687
2011-07-21 17:46:15 +00:00
Douglas Gregor
80d6322c00
Update C++0x nullptr status, from Jonathan Sauer
...
llvm-svn: 135686
2011-07-21 17:41:00 +00:00
Bill Wendling
03400e17fe
Remove extraneous period.
...
llvm-svn: 135619
2011-07-20 21:02:28 +00:00
Jay Foad
0b16695d93
Hyphenate "argument-dependent".
...
llvm-svn: 132989
2011-06-14 12:59:25 +00:00
Ted Kremenek
ef644c56a2
Remove stale reference to libIndex.
...
llvm-svn: 132757
2011-06-08 19:52:31 +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
Douglas Gregor
7e51117db2
Improve the readability of the "Expressive Diagnostics" page, from Dave Yost!
...
llvm-svn: 132432
2011-06-01 22:45:49 +00:00
Chris Lattner
4b799d4e0c
make this a bit less confusing
...
llvm-svn: 132262
2011-05-28 17:53:17 +00:00
Ted Kremenek
848c3ab60a
Update checker build to checker-257.
...
llvm-svn: 132060
2011-05-25 16:30:14 +00:00
Douglas Gregor
c586166fe3
Eliminate old, useless tutorial page
...
llvm-svn: 131292
2011-05-13 14:43:48 +00:00
Chris Lattner
b4ccc2d09e
some updates.
...
llvm-svn: 131286
2011-05-13 05:29:16 +00:00
Chris Lattner
935304e12e
this never happened.
...
llvm-svn: 131285
2011-05-13 05:22:41 +00:00
Chris Lattner
98b9029d88
remove some old redirect pages. We're into our 3rd year of redirecting, the world should have adjusted by now :)
...
llvm-svn: 131284
2011-05-13 05:21:33 +00:00
Richard Smith
e3a5ff1508
Update www: we now mangle references to function parameters properly. Also, this is really more a decltype issue rather than a late-specified return type issue.
...
llvm-svn: 130958
2011-05-05 22:07:51 +00:00
Richard Smith
3f1b5d077b
Implement support for C++0x alias templates.
...
llvm-svn: 130953
2011-05-05 21:57:07 +00:00
Jeffrey Yasskin
990a969892
Remove several more rvalue references from swap arguments in libstdc++4.4.
...
unique_ptr and shared_ptr changes by Daniel Mierswa!
llvm-svn: 130762
2011-05-03 17:28:13 +00:00
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
Gabor Greif
6a46da277f
validator
...
llvm-svn: 116668
2010-10-16 09:40:21 +00:00
Gabor Greif
4b50bd8a2e
these items are done, afaik
...
llvm-svn: 116667
2010-10-16 09:29:38 +00:00
Daniel Dunbar
b4ece9cf2f
Add an empty robots.txt, mostly just to reduce errors in HTTP log.
...
llvm-svn: 116658
2010-10-16 04:10:37 +00:00
Daniel Dunbar
cc5b831149
Add a favicon.ico, mostly just to reduce errors in HTTP log.
...
llvm-svn: 116657
2010-10-16 04:08:19 +00:00
Chris Lattner
a45ebd2fd1
be less threatening.
...
llvm-svn: 116187
2010-10-11 05:20:49 +00:00
Douglas Gregor
a881010621
Bugs should go to Bugzilla, not the mailing list
...
llvm-svn: 115972
2010-10-07 20:20:57 +00:00
Daniel Dunbar
7bb159b33c
www: Grammar, etc.
...
llvm-svn: 115914
2010-10-07 15:00:19 +00:00
Chris Lattner
586c51e0b7
clang++ sorta works now
...
llvm-svn: 115903
2010-10-07 04:28:56 +00:00
Daniel Dunbar
25a3ada060
www: Add a "Clang Related Projects" page, to collect links to external projects
...
using Clang in one way or another. Additions welcome!
llvm-svn: 115508
2010-10-04 15:40:45 +00:00
Nick Lewycky
3fd2928a45
Correct this name so I stop giving out the wrong email address.
...
llvm-svn: 115209
2010-09-30 21:20:23 +00:00
Ted Kremenek
2e0c7cc8c3
Update docs to include proper location of clang binary.
...
llvm-svn: 115088
2010-09-29 21:41:56 +00:00
Ted Kremenek
866ac0a0da
Update checker build.
...
llvm-svn: 114615
2010-09-23 00:35:46 +00:00
Douglas Gregor
21fd023d44
Update C++0x status
...
llvm-svn: 114217
2010-09-17 21:37:49 +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
Francois Pichet
9672347122
Update website to reflect that tests are no longer failing on Windows.
...
llvm-svn: 113704
2010-09-11 21:16:11 +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
Ted Kremenek
516484c71e
Update checker build.
...
llvm-svn: 113569
2010-09-10 01:20:17 +00:00
Dawn Perchik
90ca316167
Put the info on testing from the command line into its own section
...
titled "Testing on the Command Line".
llvm-svn: 112972
2010-09-03 17:01:13 +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
Gabor Greif
156315b7d8
the target of the link uses the singular form, so do we too
...
llvm-svn: 112367
2010-08-28 11:05:27 +00:00
Gabor Greif
e27ea5c92e
typo
...
llvm-svn: 112366
2010-08-28 11:03:06 +00:00
Gabor Greif
e4d36a2415
mark boost's tracking bug as fixed
...
llvm-svn: 112183
2010-08-26 14:20:18 +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
Ted Kremenek
e92d2749b8
Update checker build.
...
llvm-svn: 109907
2010-07-30 23:07:20 +00:00
Ted Kremenek
73e2df464f
Update checker build.
...
llvm-svn: 109862
2010-07-30 16:27:57 +00:00
Tanya Lattner
5b46803955
Test commit
...
llvm-svn: 109604
2010-07-28 18:19:43 +00:00
Tanya Lattner
564798dfa9
Test commit.
...
llvm-svn: 109601
2010-07-28 18:08:38 +00:00
Ted Kremenek
2deaa98821
Update checker build.
...
llvm-svn: 109600
2010-07-28 17:44:21 +00:00
Chris Lattner
76f0cf457c
path renamed.
...
llvm-svn: 109464
2010-07-26 22:51:00 +00:00
Ted Kremenek
3245003251
Add missing whitespace.
...
llvm-svn: 107897
2010-07-08 19:43:08 +00:00
Ted Kremenek
30ae68bd17
Update checker build.
...
llvm-svn: 107893
2010-07-08 18:08:18 +00:00
Duncan Sands
b69d4ce5f3
Tweak documentation to mention Debug+Asserts.
...
llvm-svn: 107863
2010-07-08 08:31:28 +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
Ted Kremenek
78f8c3014d
Update checker build.
...
llvm-svn: 107364
2010-07-01 01:06:36 +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
Ted Kremenek
e4e9941ae7
Update checker build.
...
llvm-svn: 106495
2010-06-21 22:25:24 +00:00
John McCall
be829868e1
Rework the unqualified-lookup-in-templates section of the compatibility
...
document. jyasskin, let me know if this meets your needs.
llvm-svn: 106098
2010-06-16 10:48:16 +00:00
John McCall
89d57ae436
Some more nods to HTML well-formedness.
...
llvm-svn: 106094
2010-06-16 08:48:08 +00:00
Jeffrey Yasskin
babff2ce56
Fix template ordering compatibility docs. I missed another section that covered
...
the same thing.
llvm-svn: 106076
2010-06-16 01:12:12 +00:00
Jeffrey Yasskin
0952ea77ee
Describe a gcc compatibility problem that occurs when a template calls a
...
function defined between its declaration and an instantiation, and that
function isn't findable through ADL.
llvm-svn: 106068
2010-06-15 23:50:08 +00:00
Daniel Dunbar
9886f71db7
www: Swap external coverage & spec references links.
...
llvm-svn: 105925
2010-06-13 21:07:10 +00:00
Daniel Dunbar
40e640c8df
www: Add note on running clang tests from a CMake build, patch by Peter Collingbourne
...
llvm-svn: 105791
2010-06-10 17:01:45 +00:00
Chris Lattner
1737957803
clang++ is now a different greek letter.
...
llvm-svn: 105313
2010-06-02 05:27:21 +00:00
John McCall
58ec0483b7
Add a compatibility note about incomplete types in templates.
...
llvm-svn: 105309
2010-06-02 01:26:32 +00:00
Ted Kremenek
f9d147bddb
Update checker build.
...
llvm-svn: 104817
2010-05-27 06:27:45 +00:00
Douglas Gregor
a09387df9f
It turns out that people love using VLAs in templates, too. Weaken our
...
VLA restrictions so that one can use VLAs in templates (even
accidentally), but not as part of a non-type template parameter (which
would be very bad).
llvm-svn: 104471
2010-05-23 19:57:01 +00:00
Douglas Gregor
959d5a0cbd
Implement support for variable length arrays in C++. VLAs are limited
...
in several important ways:
- VLAs of non-POD types are not permitted.
- VLAs cannot be used in conjunction with C++ templates.
These restrictions are intended to keep VLAs out of the parts of the
C++ type system where they cause the most trouble. Fixes PR5678 and
<rdar://problem/8013618>.
llvm-svn: 104443
2010-05-22 16:17:30 +00:00
Chris Lattner
33eee34230
minor updates
...
llvm-svn: 104436
2010-05-22 07:02:06 +00:00
Chris Lattner
b9ea2c29a1
down with export.
...
llvm-svn: 104383
2010-05-21 21:16:21 +00:00
Chris Lattner
da9e3287f9
another unneeded line.
...
llvm-svn: 104379
2010-05-21 21:02:17 +00:00
Chris Lattner
6fe3748de4
major update to the C++ status page. C++ support is
...
now done and no more patches to it will be accepted.
llvm-svn: 104378
2010-05-21 20:59:40 +00:00
Ted Kremenek
e6e847079c
Add documention on ns_returns_not_retained and cf_returns_not_retained attributes.
...
llvm-svn: 103785
2010-05-14 18:13:43 +00:00
Douglas Gregor
c022914620
BoostCon tutorial notes, temporary
...
llvm-svn: 103520
2010-05-11 22:09:20 +00:00
Daniel Dunbar
d43f08d06e
Update latest checker build to a local link.
...
llvm-svn: 103332
2010-05-08 02:03:49 +00:00
Chris Lattner
6eeb221f3b
mention that cmake works on unix too. PR7061
...
llvm-svn: 103202
2010-05-06 21:57:57 +00:00
Douglas Gregor
61c1ac2e5c
Remove the blanket statement about Clang not supporting access control. It does now
...
llvm-svn: 101041
2010-04-12 16:01:38 +00:00
Ted Kremenek
85421e9555
Update checker build.
...
llvm-svn: 100987
2010-04-11 21:02:52 +00:00
John McCall
81a4a72e84
Add a note to the C++ compatibility page about templates with no
...
valid instantiations.
llvm-svn: 100836
2010-04-09 01:07:07 +00:00
Chris Lattner
4b73cfabac
rename llvm::llvm_report_error -> llvm::report_fatal_error
...
llvm-svn: 100708
2010-04-07 22:58:06 +00:00
Ted Kremenek
232d44ed48
Update checker build.
...
llvm-svn: 100603
2010-04-07 04:09:49 +00:00
Ted Kremenek
cbcb692133
Update analyzer build.
...
llvm-svn: 100153
2010-04-01 23:25:38 +00:00
Gabor Greif
bf82f94d35
provide a simpler way to get to the headers
...
llvm-svn: 99843
2010-03-29 21:36:06 +00:00
Ted Kremenek
344242f1e4
Remove VS information for analyzer until we have more real support.
...
llvm-svn: 99720
2010-03-27 16:56:20 +00:00
Kovarththanan Rajaratnam
bfc61ea0a7
s/Clangify2010.py/clangify2010.py
...
llvm-svn: 99712
2010-03-27 08:21:15 +00:00
Ted Kremenek
c59230a7d7
Add initial draft of web page on 'clangifty2010.py' script for analyzing VS projects.
...
llvm-svn: 99691
2010-03-27 01:06:58 +00:00
John McCall
cb81625851
Add another compatibility note and tweak a few of the existing ones.
...
llvm-svn: 98717
2010-03-17 07:10:56 +00:00
Chandler Carruth
7b621ea10a
Fix a typo in a tag.
...
llvm-svn: 98713
2010-03-17 05:46:21 +00:00
Rafael Espindola
fcc4739089
Document common clang compatibility issues.
...
Patch by Zhanyong Wan.
llvm-svn: 98708
2010-03-17 04:31:53 +00:00
Ted Kremenek
c52ea21a6e
Fix grammar
...
llvm-svn: 98352
2010-03-12 16:46:36 +00:00
Ted Kremenek
e3243224bf
Update checker build.
...
llvm-svn: 98259
2010-03-11 16:47:29 +00:00
Ted Kremenek
9704635375
Fix typo.
...
llvm-svn: 97365
2010-02-28 05:14:08 +00:00
Ted Kremenek
07130c35d5
Update checker build.
...
llvm-svn: 97186
2010-02-26 00:07:31 +00:00