Richard Smith
66204ecff9
DR1346: a parenthesized braced-init-list cannot be used as the initializer when
...
performing auto type deduction.
llvm-svn: 203683
2014-03-12 17:42:45 +00:00
Richard Smith
b81b196a58
Tests for DR381-388.
...
llvm-svn: 203549
2014-03-11 07:49:32 +00:00
Nico Weber
ab88f0b12f
"Mac OS/X" -> "Mac OS X" spelling fixes for clang.
...
Patch from Sean McBride <sean@rogue-research.com>!
llvm-svn: 203259
2014-03-07 18:09:57 +00:00
Richard Smith
a13f8ae84e
DR status page: add link targets for individual DRs, and link duplicates.
...
llvm-svn: 203022
2014-03-05 23:02:47 +00:00
Richard Smith
faf156ad15
Tests for DR370-380.
...
Also promote a couple of Warnings on ill-formed code found by this testing to
ExtWarns.
llvm-svn: 203021
2014-03-05 22:54:58 +00:00
Richard Smith
2f0e4e78b2
Add tests for newly-resolved core issues <= 370.
...
llvm-svn: 202889
2014-03-04 21:14:30 +00:00
Richard Smith
37213e219b
Update DR status page to match post-Issaquah core issues list.
...
llvm-svn: 202886
2014-03-04 20:44:20 +00:00
Richard Smith
586cd94340
Add links to TSen from post-Issaquah mailing.
...
llvm-svn: 202882
2014-03-04 20:22:54 +00:00
Ted Kremenek
2e25fbfc11
[analyzer] post analyzer build checker-276
...
llvm-svn: 201648
2014-02-19 08:09:22 +00:00
David Majnemer
141a7b5402
Remove gunk from cxx_dr_status.html
...
Accidentally piped the stdout from make_cxx_dr_status into
cxx_dr_status.html
llvm-svn: 201634
2014-02-19 03:21:27 +00:00
David Majnemer
49864d6676
Regenerate DR status page.
...
llvm-svn: 201632
2014-02-19 03:03:21 +00:00
Richard Smith
efa20ae276
Remove transactional memory from c++ status page; there's no working paper for it yet.
...
llvm-svn: 201452
2014-02-15 00:48:38 +00:00
Richard Smith
78c7bbb430
Add some missing threes.
...
llvm-svn: 201449
2014-02-15 00:29:44 +00:00
Richard Smith
3a0ed87ed9
Add entries to C++ status page for Technical Specification Working Papers that
...
WG21 is about to vote on.
llvm-svn: 201448
2014-02-15 00:29:00 +00:00
Richard Smith
cc4a72ecd2
Tests for DR351-370, plus update DR status page to match the latest core issue list.
...
llvm-svn: 201106
2014-02-10 19:53:17 +00:00
Richard Smith
18819307d3
DR101, PR12770: If a function is declared in the same context as a
...
using-declaration, and they declare the same function (either because
the using-declaration is in the same namespace as the declaration it
imports, or because they're both extern "C"), they do not conflict.
llvm-svn: 200897
2014-02-06 01:31:33 +00:00
Richard Smith
5e34db94bb
Fix typo in CSS class name.
...
llvm-svn: 200680
2014-02-03 07:02:19 +00:00
Richard Smith
7fe896251d
Clang 3.4 was released, make the boxes green.
...
llvm-svn: 200679
2014-02-03 06:58:08 +00:00
Richard Smith
c94410bc8d
Tests for DR331-350.
...
llvm-svn: 200678
2014-02-03 06:34:23 +00:00
Richard Smith
209bbb7774
Update C++ DR page now 3.4 has been released.
...
llvm-svn: 200674
2014-02-03 02:40:25 +00:00
Richard Smith
91dfaacd38
Implement DR329. We already did the right thing here in C++98 mode, but r104014
...
(which implemented the DR) was disabled in C++11.
llvm-svn: 200673
2014-02-03 02:37:59 +00:00
Richard Smith
9f38709193
Tests for DR321-330.
...
llvm-svn: 200672
2014-02-03 02:13:49 +00:00
Richard Smith
6938adbd16
Tests for DR301-320.
...
llvm-svn: 200671
2014-02-03 01:23:27 +00:00
Nikola Smiljanic
d8fe631d7f
Update debugging visualizers section.
...
llvm-svn: 200460
2014-01-30 07:15:53 +00:00
Richard Smith
6a6a4bbdd4
PR17052 / DR1560 (+DR1550): In a conditional expression between a glvalue and a
...
throw-expression, the result is also a glvalue and isn't unnecessarily coerced
to a prvalue.
llvm-svn: 200189
2014-01-27 04:19:56 +00:00
Richard Smith
a8e1e9b143
Correct < and > to < and >. Thanks to Samuel Harrington for pointing this out!
...
llvm-svn: 200048
2014-01-24 22:55:47 +00:00
Richard Smith
0e50a883ff
Update page on clang diagnostics to contrast to GCC 4.9 instead of 4.2. A lot
...
of the differences we identified here have been fixed by improvements in GCC.
llvm-svn: 199970
2014-01-24 03:13:34 +00:00
Aaron Ballman
13472563ad
Updating the minimum version information for Visual Studio.
...
Patch thanks to Nikola Smiljanic!
llvm-svn: 199457
2014-01-17 03:38:49 +00:00
Richard Smith
3dd73db411
Move away from 'general' / 'generalized' as a way of identifying C++11
...
attribute syntax. There's nothing generalized about this; it's one of
several first-class attribute syntaxes we support, all of which are
more-or-less equally general.
As discussed on cfe-commits, we may want to revisit this if we start allowing
this syntax as an extension in C (or if C adopts the syntax), but hopefully
this diagnostic wording will be crystal clear to everyone in the mean time.
llvm-svn: 199443
2014-01-17 00:11:48 +00:00
Alp Toker
344845b43f
www: update the "Follow what's going on" section too
...
Includes some style tweaks and removes the tautological observation that "Clang
is still under heavy development" -- it hopefully always will be.
llvm-svn: 199401
2014-01-16 17:04:52 +00:00
Alp Toker
5a1a81841a
www: link to the planet clang newsfeed
...
Also shuffle the Communication section so the bug tracker comes first.
(The sidebar isn't scrollable at the moment so this gives a better chance of
the bug tracker being seen. The links further down are basically invisible --
we should look into that.)
llvm-svn: 199398
2014-01-16 16:29:02 +00:00
Richard Smith
75a9a1a3c2
Update feature name "Generalized Attributes" to match the heading in the paper.
...
llvm-svn: 199177
2014-01-14 02:52:38 +00:00
Richard Smith
8e6afd4785
Regenerate DR status page.
...
llvm-svn: 196893
2013-12-10 08:26:19 +00:00
Richard Smith
e0cabb7756
Versions of GCC newer than 4.8 exist these days =)
...
llvm-svn: 196765
2013-12-09 08:55:59 +00:00
Richard Smith
6058634007
Minor cleanup and reorg of C++ status page.
...
llvm-svn: 196763
2013-12-09 08:52:23 +00:00
Richard Smith
99b72425f0
Update compatibility page to list some GCC language extensions that Clang does
...
not support as a possible reason for choosing GCC instead of Clang (and vice
versa). Weaken some of the claimed advantages of Clang in light of GCC
improvements.
llvm-svn: 196758
2013-12-09 07:03:59 +00:00
Alp Toker
05f894358a
Add introductory paragraph to the C++ status page
...
Use internal links to provide easier access to recent and ongoing work.
Also shift up the order of standards in the page title in order to avoid web
search results focusing on C++98 in the summary.
This is done to highlight the modern standards support in clang that was
previously languishing at the bottom of the page.
"C++98/03 is sooooo yesterday" - dgregor
llvm-svn: 196565
2013-12-06 06:35:49 +00:00
Richard Smith
e7f5249913
Mark auto-generated file as auto-generated, as suggested by Alp.
...
llvm-svn: 196534
2013-12-05 21:08:20 +00:00
Alp Toker
f6a24ce40f
Fix a tranche of comment, test and doc typos
...
llvm-svn: 196510
2013-12-05 16:25:25 +00:00
Richard Smith
28b1939849
Update C++ status from 'SVN' to 'Clang 3.4' in preparation for release. Leave
...
boxes yellow until we release, though.
llvm-svn: 196482
2013-12-05 07:52:05 +00:00
Richard Smith
a230224be4
Implement DR482: namespace members can be redeclared with a qualified name
...
within their namespace, and such a redeclaration isn't required to be a
definition any more.
Update DR status page to say Clang 3.4 instead of SVN and add new Clang 3.5
category (but keep Clang 3.4 yellow for now).
llvm-svn: 196481
2013-12-05 07:51:02 +00:00
Alp Toker
d473363876
Correct hyphenations in comments and assert messages
...
This patch tries to avoid unrelated changes other than fixing a few
hyphen-related ambiguities in nearby lines.
llvm-svn: 196466
2013-12-05 04:47:09 +00:00
Alp Toker
3b557ba3f6
Documentation typo corrections
...
llvm-svn: 196215
2013-12-03 06:53:39 +00:00
Richard Smith
91e474fc91
Add support for C++'s SD6 feature test macros.
...
llvm-svn: 195888
2013-11-27 22:58:16 +00:00
Richard Smith
ce42084402
Tests for core issues 270-300.
...
llvm-svn: 195626
2013-11-25 08:07:41 +00:00
Richard Smith
5327b86430
Tests for core issues 251-270.
...
llvm-svn: 194989
2013-11-18 05:24:03 +00:00
Richard Smith
3cde3d245a
Tests for core issue 241-250.
...
llvm-svn: 194951
2013-11-17 06:39:43 +00:00
Richard Smith
7101fd0e56
Tests for core issues 224-240.
...
llvm-svn: 194946
2013-11-17 02:50:30 +00:00
Richard Smith
b09a4fe192
Tests for core issue 216-223.
...
llvm-svn: 194795
2013-11-15 08:55:01 +00:00
Richard Smith
00f5d8927b
DR408: If a static data member of incomplete array type is declared in a class
...
template, that member has a dependent type (even if we can see the definition
of the member of the primary template), because the array size could change in
a member specialization.
Patch by Karthik Bhat!
llvm-svn: 194740
2013-11-14 22:40:45 +00:00
Richard Smith
8c98c1e704
Tests for core issue 201-215.
...
llvm-svn: 194458
2013-11-12 09:16:15 +00:00
Hans Wennborg
1b6973fc99
Update macro expansion diagnostic examples to say 'expanded from:'
...
instead of 'instantiated from:'. The actual wording of the note was
changed in r135135.
llvm-svn: 194297
2013-11-08 23:52:29 +00:00
Richard Smith
c8f7fd10a9
Tests for core issue 170-200.
...
llvm-svn: 194240
2013-11-08 02:05:54 +00:00
Richard Smith
786d8a26f2
Tests for CWG issue 165-170.
...
llvm-svn: 194215
2013-11-07 19:26:14 +00:00
Richard Smith
76b9f23f2d
Mark generic lambdas, and thus C++14, as complete. Add commented-out stub for C++17.
...
llvm-svn: 194194
2013-11-07 06:41:26 +00:00
Richard Smith
14bdd7a925
Tests for DR150 - DR165.
...
llvm-svn: 194192
2013-11-07 06:24:09 +00:00
Richard Smith
677fb06cec
Update cxx_dr_status.html to match current cwg issue list.
...
llvm-svn: 194189
2013-11-07 05:34:58 +00:00
Richard Smith
96c07b165e
Remove stray comma from documentation.
...
llvm-svn: 194056
2013-11-05 09:12:55 +00:00
Richard Smith
b47c36f8e1
C++1y sized deallocation: if we have a use, but not a definition, of a sized
...
deallocation function (and the corresponding unsized deallocation function has
been declared), emit a weak discardable definition of the function that
forwards to the corresponding unsized deallocation.
This allows a C++ standard library implementation to provide both a sized and
an unsized deallocation function, where the unsized one does not just call the
sized one, for instance by putting both in the same object file within an
archive.
llvm-svn: 194055
2013-11-05 09:12:18 +00:00
Richard Smith
2d1d3ca1cc
Enable links now that they work.
...
llvm-svn: 194054
2013-11-05 08:27:00 +00:00
Richard Smith
1cdec019e8
Implement C++1y sized deallocation (n3778). This is not enabled by -std=c++1y;
...
instead, it's enabled by the -cc1 flag -fsized-deallocation, until we sort out
the backward-compatibility issues.
llvm-svn: 191629
2013-09-29 04:40:38 +00:00
Richard Smith
ee84919175
Remove commented-out entry for ARBs, they're not in C++1y any more.
...
llvm-svn: 191627
2013-09-28 19:09:34 +00:00
Richard Smith
b438e62aba
Mark lambda init-captures as complete.
...
llvm-svn: 191607
2013-09-28 04:37:56 +00:00
Chandler Carruth
826eec5913
Implementation of N3760 which is planned to be voted into C++14's draft
...
tomorrow is complete.
There is a missing warning due to a serious issue with template
instantiation in Clang (and potentially in the core language).
llvm-svn: 191577
2013-09-27 22:30:27 +00:00
Richard Smith
dca0c7a5fb
Mark variable template implementation as complete. Nearly all of the credit
...
here goes to Larisse Voufo.
llvm-svn: 191549
2013-09-27 20:19:41 +00:00
Richard Smith
23e43cdda6
Comment out links for papers that aren't up yet.
...
llvm-svn: 191547
2013-09-27 19:55:03 +00:00
Benjamin Kramer
8ba47d017b
Fix typo: Dellocation.
...
llvm-svn: 191542
2013-09-27 19:35:09 +00:00
Richard Smith
36f11c56ed
Fix formatting goof.
...
llvm-svn: 191541
2013-09-27 19:12:22 +00:00
Richard Smith
3ca005bd01
Update status:
...
* generic lambdas are now partially supported
* add papers from formal motions in committee
llvm-svn: 191540
2013-09-27 19:11:33 +00:00
Richard Smith
541b38be7b
Switch the semantic DeclContext for a block-scope declaration of a function or
...
variable from being the function to being the enclosing namespace scope (in
C++) or the TU (in C). This allows us to fix a selection of related issues
where we would build incorrect redeclaration chains for such declarations, and
fail to notice type mismatches.
Such declarations are put into a new IdentifierNamespace, IDNS_LocalExtern,
which is only found when searching scopes, and not found when searching
DeclContexts. Such a declaration is only made visible in its DeclContext if
there are no non-LocalExtern declarations.
llvm-svn: 191064
2013-09-20 01:15:31 +00:00
Ted Kremenek
6700934ac7
Move checker downloads to llvm.org.
...
llvm-svn: 190316
2013-09-09 17:19:27 +00:00
Sylvestre Ledru
525e4444c4
add OCLint to the list of projects based on clang
...
llvm-svn: 190248
2013-09-07 07:59:01 +00:00
Sylvestre Ledru
26a4fff380
add he 'include what you use' project
...
llvm-svn: 190247
2013-09-07 07:56:03 +00:00
Sylvestre Ledru
215707b660
remove the description about clang & llvm in the freebsd section (the reader probably know what are llvm and clang
...
llvm-svn: 190246
2013-09-07 07:52:20 +00:00
Sylvestre Ledru
e1f8a17a9c
about the debian effort to rebuild the archive with clang
...
llvm-svn: 190245
2013-09-07 07:51:23 +00:00
Sylvestre Ledru
901be185d8
Clang event are now part of the llvm events. Add a link to the LLVM events
...
llvm-svn: 190244
2013-09-07 07:39:49 +00:00
Sylvestre Ledru
a07226fff8
Update the link to the current code coverage reports (the previous one has not been updated since february 2010) + remove the spec references, not updated since May 2010
...
llvm-svn: 190243
2013-09-07 07:37:18 +00:00
Jordan Rose
6f937e9a21
[analyzer] Note that deadcode.UnmodifiedVariable would be an opt-in checker.
...
Website-only change.
llvm-svn: 188731
2013-08-19 23:54:35 +00:00
Jordan Rose
23b2f755ce
[analyzer] Add "unmodified variable" checker to the Potential Checkers.
...
This is PR16890.
llvm-svn: 188681
2013-08-19 16:27:37 +00:00
Jordan Rose
60619a639b
[analyzer] Assume that strings are no longer than SIZE_MAX/4.
...
This keeps the analyzer from making silly assumptions, like thinking
strlen(foo)+1 could wrap around to 0. This fixes PR16558.
Patch by Karthik Bhat!
llvm-svn: 188680
2013-08-19 16:27:34 +00:00
Jordan Rose
7964ab5a43
[analyzer] Update Open Projects and Potential Checkers pages.
...
- va_list checker (PR16811 and PR16812)
- Model floating-point values
- Bound bitwise masking operations (PR16615)
- Bound C string length (PR16558 and others)
llvm-svn: 188127
2013-08-10 01:24:35 +00:00
Larisse Voufo
b9737e314c
Update status of support for variable templates on website.
...
llvm-svn: 187785
2013-08-06 07:37:09 +00:00
Richard Smith
08d6a2cc7a
C++1y: track object lifetime during constexpr evaluation, and don't allow
...
objects to be used once their lifetimes end. This completes the C++1y
constexpr extensions.
llvm-svn: 187025
2013-07-24 07:11:57 +00:00
Richard Smith
8d0dc31dca
Tighten up the set of operator new/operator delete calls we're permitted to
...
optimize, to follow the permissions granted in N3664. Under those rules, only
calls generated by new-expressions and delete-expressions are permitted to be
optimized, and direct calls to ::operator new and ::operator delete must be
treated as normal calls.
llvm-svn: 186799
2013-07-21 23:12:18 +00:00
Anton Yartsev
93e5a02c8b
+ "For Windows Users" section
...
+ description for --use-analyzer option
+ managed size of columns of the 'options' table
llvm-svn: 185199
2013-06-28 19:21:11 +00:00
David Majnemer
502b0ed264
Implement DR136
...
Friend declarations that specify a default argument must be a definition
and the only declaration in the translation unit.
llvm-svn: 184889
2013-06-25 23:09:30 +00:00
David Majnemer
ba8f17ac10
Implement DR21
...
A default template-argument shall not be specified in a friend template
declaration.
Interestingly, we properly handled default template arguments on friend
class members but not on just friend classes.
llvm-svn: 184882
2013-06-25 22:08:55 +00:00
Richard Smith
39b7968ccb
DR14, DR101, and part of DR1: fix handling of extern "C" declarations in
...
namespaces, by treating them just like we treat extern "C" declarations in
function scope.
llvm-svn: 184223
2013-06-18 20:15:12 +00:00
Richard Smith
9924772d5f
Turn Clang 3.3 boxes on C++ status from yellow to green now we're releasing it.
...
llvm-svn: 184149
2013-06-17 23:54:23 +00:00
Larisse Voufo
e4fb3dc7d4
Corrected status of support for contextual conversion from full to SVN
...
llvm-svn: 184073
2013-06-17 05:37:15 +00:00
Richard Smith
3b08dcd4cc
Remove unused file.
...
llvm-svn: 184070
2013-06-17 01:34:23 +00:00
Richard Smith
895d6952d6
Add tests for C++ DR100-150.
...
llvm-svn: 184057
2013-06-16 08:00:51 +00:00
Larisse Voufo
492a6af72f
Updated status of support for contextual conversion from partial to full
...
llvm-svn: 184049
2013-06-15 20:26:23 +00:00
Larisse Voufo
27ef14f098
Updated C++1y status for contextual conversions to 'partial' (without review)
...
llvm-svn: 183888
2013-06-13 06:04:33 +00:00
David Majnemer
66ad574f40
Implement DR61: Address of ambiguous bound methods should be disallowed
...
DR61 affirms that expressions containing unresolved member access should
be disallowed when performing "address of" operations.
llvm-svn: 183723
2013-06-11 03:56:29 +00:00
David Majnemer
55890bfaa6
Implement DR85: Redeclaration of member is forbidden
...
Disallow the existence of a declaration of a member class that isn't a
forward declaration before it's definition.
llvm-svn: 183722
2013-06-11 03:51:23 +00:00
Ted Kremenek
274429be76
Remove links to old checker builds.
...
llvm-svn: 182811
2013-05-28 23:30:24 +00:00
Richard Smith
b7df8a7014
Tests and status for DR51-99.
...
llvm-svn: 182720
2013-05-26 22:03:53 +00:00
Ted Kremenek
48ed4b614c
Update static analyzer build to checker-275.
...
llvm-svn: 182626
2013-05-24 00:50:01 +00:00
Richard Smith
10bb5b90ed
Tests and status for core issues 1-50.
...
llvm-svn: 182207
2013-05-19 07:22:38 +00:00