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
Anna Zaks
8cfbaa6988
[analyzer] Extend the checker developer manual. A patch by Sam Handler!
...
llvm-svn: 182204
2013-05-18 22:51:28 +00:00
Richard Smith
c8adfc8957
Start a page tracking which C++ defect reports have been implemented in Clang.
...
The page is generated from a text file listing DR numbers and implementation
status, plus a copy of the cwg_index.html from the WG21 website. Recipe:
$ wget http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_index.html
$ ./make_cxx_dr_status >! cxx_dr_status.html
The intent here is to go through all the DRs, add tests for each one, then mark
them as done once such tests are committed and passing. I've not linked to this
page from anywhere, since it doesn't contain any useful information yet.
llvm-svn: 181967
2013-05-16 01:23:30 +00:00
Richard Smith
0e4676e1f5
Downgrade C++14 "Clarifying memory allocation". We perform non-conforming
...
optimizations -- in particular, globalopt will remove calls to ::operator
new(size_t) that did not come from new-expressions.
llvm-svn: 181676
2013-05-12 23:39:32 +00:00
Richard Smith
9155be1e54
C++1y: provide full 'auto' return type deduction for lambda expressions. This
...
completes the implementation of N3638.
llvm-svn: 181669
2013-05-12 03:09:35 +00:00
Richard Smith
f2f6e114fd
Switch C++1y paper links back to the canonical location at open-std.org now that the post-Bristol mailing has shipped.
...
llvm-svn: 181533
2013-05-09 18:53:17 +00:00
Richard Smith
badcd986bb
C++ status:
...
- fix paper links to point to isocpp.org, where most of the papers are already up
- update "SVN" features to "Clang 3.3" to distinguish them from features which we
complete after the branch
- document use of -std=c++1y to enable c++1y support
llvm-svn: 181283
2013-05-07 02:55:48 +00:00
Richard Smith
fa7a7b4f36
Tweaks to C++ status: add a link to Faisal's generic lambdas implementation,
...
and mark "clarifying memory allocation" as done, since it turns out that our
optimizations here (such as they are) already conform to the new rules.
llvm-svn: 181110
2013-05-04 07:12:37 +00:00
Richard Smith
452d6b0331
More colours for C++ status page, and mark relaxed constexpr as partially complete.
...
llvm-svn: 181109
2013-05-04 07:02:10 +00:00
Richard Smith
2a7d481faf
Implement most of N3638 (return type deduction for normal functions).
...
Missing (somewhat ironically) is support for the new deduction rules
in lambda functions, plus PCH support for return type patching.
llvm-svn: 181108
2013-05-04 07:00:32 +00:00
Richard Smith
74aeef50a0
Implement C++1y decltype(auto).
...
llvm-svn: 180610
2013-04-26 16:15:35 +00:00
Ted Kremenek
721ffed9bc
Update checker build.
...
llvm-svn: 180164
2013-04-23 23:55:03 +00:00
Richard Smith
852c9db72b
C++1y: Allow aggregates to have default initializers.
...
Add a CXXDefaultInitExpr, analogous to CXXDefaultArgExpr, and use it both in
CXXCtorInitializers and in InitListExprs to represent a default initializer.
There's an additional complication here: because the default initializer can
refer to the initialized object via its 'this' pointer, we need to make sure
that 'this' points to the right thing within the evaluation.
llvm-svn: 179958
2013-04-20 22:23:05 +00:00
Richard Smith
f30c842a38
Update some stuff on the open projects page to reflect things we've already done.
...
llvm-svn: 179953
2013-04-20 16:20:44 +00:00
Richard Smith
95997207e0
Switch C++11 open project to C++1y :)
...
llvm-svn: 179951
2013-04-20 15:57:27 +00:00
Richard Smith
4cf9a1ee0b
Add note that some of these links are dead for now.
...
llvm-svn: 179950
2013-04-20 13:22:50 +00:00
Richard Smith
33089cbdae
VLAs in C++14!
...
llvm-svn: 179949
2013-04-20 13:20:33 +00:00
Richard Smith
7898d7ba96
Variable templates and generic lambdas are approved for C++14.
...
llvm-svn: 179947
2013-04-20 12:58:57 +00:00
Richard Smith
d3a7386452
Clarifying memory allocation: approved for C++14. Move from N/A to no, since we currently relax 'operator new' calls which didn't come from new-expressions.
...
llvm-svn: 179946
2013-04-20 12:57:49 +00:00
Richard Smith
74c61eaca2
No digit separators for C++14.
...
llvm-svn: 179945
2013-04-20 12:56:37 +00:00
Richard Smith
7feda2f990
Generalized constexpr is approved for C++14.
...
llvm-svn: 179944
2013-04-20 12:49:36 +00:00
Richard Smith
5db8b286e2
More approved C++14 features.
...
llvm-svn: 179943
2013-04-20 12:47:36 +00:00
Richard Smith
0fa4fceaae
Binary literals are approved for C++14.
...
llvm-svn: 179942
2013-04-20 12:44:32 +00:00
Jordan Rose
2a481fa63b
[analyzer] Website: update lists of potential and actual checkers.
...
- memory.MismatchedDelete, memory.MultipleDelete, and memory.DeallocateNonPtr
are complete (unix.MismatchedDeallocator and cplusplus.NewDelete)
- Per discussion on the mailing list, different.UnaryPlusWithUnsigned has
dubious value; remove it.
- Add potential checker ctordtor.PlacementSelfCopy per an internal bug report.
- core.AttributeNonNull is now core.NonNullParamChecker, though no one should
be depending on this name anyway.
llvm-svn: 179900
2013-04-19 22:19:14 +00:00
Richard Smith
c5c27f2a1f
Note that we support (and in fact have supported since the dawn of time itself)
...
C++1y binary literals.
llvm-svn: 179883
2013-04-19 20:47:20 +00:00
Richard Smith
9172520f57
Initial work on status page for C++14.
...
llvm-svn: 179864
2013-04-19 17:27:48 +00:00
Richard Smith
25b555a6bf
C++11 support is now feature-complete.
...
llvm-svn: 179861
2013-04-19 17:00:31 +00:00
Jordan Rose
406503a0f9
[analyzer] Merge C++ status page into Open Projects.
...
Also, add a few random extra open projects.
Most of C++ support is done; we don't need the status page anymore. We're
hoping that the C++-related open projects are the only major pieces of
functionality we don't model at this point.
llvm-svn: 179659
2013-04-17 00:57:39 +00:00
Jordan Rose
4e225c0646
[analyzer] Open Projects: grammar, phrasing, formatting
...
llvm-svn: 179658
2013-04-17 00:57:24 +00:00
Anna Zaks
4082c43d06
[analyzer] Add Open Projects page to the analyzer website
...
llvm-svn: 179631
2013-04-16 21:37:04 +00:00
Tim Northover
737889ded7
Remove reference to MSVC only building X86 backend.
...
This is no longer true.
llvm-svn: 179519
2013-04-15 11:55:27 +00:00
Anna Zaks
1ebded0a11
[analyzer] Add a link to the Building a Checker in 24 Hours talk to the developer manual
...
llvm-svn: 179490
2013-04-14 18:36:51 +00:00
Richard Smith
b7151b910c
Add support for computing the exception specification for an inheriting
...
constructor. This isn't quite perfect (as usual, we don't handle default
arguments correctly yet, and we don't deal with copy/move constructors for
arguments correctly either, but this will be fixed when we implement core issue
1351.
This completes our support for inheriting constructors.
llvm-svn: 179154
2013-04-10 06:11:48 +00:00
Ted Kremenek
ca2a334e77
Update checker build to checker-273
...
llvm-svn: 179055
2013-04-08 21:02:16 +00:00
Chris Lattner
1dfc27d9c1
In the comparison, both clang and GCC are popular and widely adopted. This is no longer a win of GCC.
...
This whole doc should really be looked at.
llvm-svn: 179040
2013-04-08 18:56:15 +00:00
Richard Smith
38546eddf4
Add a linebreak. Linebreaks are cool.
...
llvm-svn: 177325
2013-03-18 21:57:52 +00:00
Richard Smith
8024ee5603
C++11 status: mark 'extended integral types' as N/A, since we don't support
...
any, and add a note that we cannot treat __int128 as an extended integral type.
llvm-svn: 177324
2013-03-18 21:44:56 +00:00
Richard Smith
9deb9d9d42
Make C++11 status page more consistent: we mark entries as "done" if we
...
implement correct functionality, even if it's not optimal. On this basis, mark
"data dependency ordering" as done. Add footnotes for cases where our
implementation is known to be suboptimal.
llvm-svn: 176891
2013-03-12 19:56:09 +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
115314926d
Remove outdated claim that GCC builds without a C++ compiler from compilers comparison.
...
llvm-svn: 176515
2013-03-05 21:49:52 +00:00
Jordan Rose
687d1d33f4
[analyzer] Update open source checker build to checker-272.
...
See http://clang-analyzer.llvm.org/release_notes.html for what's new
in this build.
llvm-svn: 176389
2013-03-01 23:26:05 +00:00
Anna Zaks
4a8a015f13
[analyzer] Reword FAQ
...
Reword the FAQ to stress more that the assert should be used only in case
the developer is sure that the issue is a false positive.
llvm-svn: 176335
2013-03-01 06:38:16 +00:00
Renato Golin
05bbce70dd
Avoiding flamewars
...
llvm-svn: 176221
2013-02-27 23:21:44 +00:00
Renato Golin
4890582f2a
Add config manager to open projects
...
llvm-svn: 176211
2013-02-27 21:28:29 +00:00
Richard Smith
537a834bca
C++11 status page:
...
* Mark attributes as done in SVN.
* Downgrade alignment support from 'Clang 3.0' to 'SVN', now that we actually implement the rules.
* Upgrade 'Dynamic initialization with concurrency' from 'No' to 'Clang 2.9' -- all that is required here is the ABI-mandated locking for the initialization of static locals.
llvm-svn: 175882
2013-02-22 09:31:00 +00:00
Tanya Lattner
33455e10c9
Remove outdated performance.html webpage.
...
llvm-svn: 175090
2013-02-13 21:51:18 +00:00
Anton Yartsev
277775b8af
+ specified progress information
...
llvm-svn: 174942
2013-02-12 05:02:54 +00:00
Anton Yartsev
19802a709a
+ centered progress cells
...
+ added progress information for several checkers
llvm-svn: 174941
2013-02-12 04:45:48 +00:00
Tanya Lattner
d7fe06f274
Timing data was removed years ago. Remove these links.
...
llvm-svn: 174918
2013-02-11 23:32:10 +00:00
Ted Kremenek
e0cdd752d5
Note that checker-271 is newer than the analyzer in Xcode 4.6
...
llvm-svn: 174759
2013-02-08 22:19:43 +00:00
Ted Kremenek
b3cbef4ad2
Update open source checker build to checker-271.
...
llvm-svn: 174758
2013-02-08 22:18:26 +00:00
Ted Kremenek
f5209c4b45
Revert "Update checker build to checker-271."
...
Turns out we didn't update scan-build to work with HTML files in nested directories.
llvm-svn: 174256
2013-02-02 01:06:22 +00:00
Ted Kremenek
93482a523c
Update checker build to checker-271.
...
llvm-svn: 174252
2013-02-02 00:57:28 +00:00
Richard Smith
4e483edaf9
Consistently format sample diagnostics on this page.
...
llvm-svn: 174126
2013-02-01 00:45:12 +00:00
Richard Smith
bc4fc77aac
C++11 status:
...
* Mark 'sequence points' as done now we have a warning for unsequenced operations
* Mark 'memory model' as done now we correctly model bitfield operations
llvm-svn: 173771
2013-01-29 04:55:18 +00:00
Jordan Rose
a2d5f0c742
Various tweaks and updates to the analyzer website.
...
llvm-svn: 171885
2013-01-08 19:29:37 +00:00
Ted Kremenek
0ab78e622f
Repost checker-270, which for some reason got deleted.
...
llvm-svn: 171870
2013-01-08 17:33:58 +00:00
Anna Zaks
af48a938e3
[analyzer] Extend the Representing Values section of the dev manual.
...
llvm-svn: 171823
2013-01-08 00:25:14 +00:00
Ted Kremenek
a49cf10737
Update checker build to checker-270
...
llvm-svn: 171560
2013-01-04 23:52:16 +00:00
NAKAMURA Takumi
5e74510398
docs: [CMake] Add Xcode to the list of project formats CMake can generate.
...
Suggested by Sean McBride, thanks!
llvm-svn: 168745
2012-11-27 23:34:28 +00:00
NAKAMURA Takumi
a9f3c0f09a
clang/www/get_started.html: s/cmake/CMake/
...
Suggested by Sean McBride, thanks!
llvm-svn: 168744
2012-11-27 23:34:08 +00:00
Argyrios Kyrtzidis
28b907dcfa
Mention the lldb formatters in the clang wiki under debugging.
...
llvm-svn: 168118
2012-11-16 00:25:28 +00:00
Tanya Lattner
b634bc91b4
Add link to cfe-users mailing list.
...
llvm-svn: 168015
2012-11-15 01:13:31 +00:00
Jordan Rose
721567af3e
[analyzer] Check that the argument to CFMakeCollectable is non-NULL.
...
Patch by Sean McBride!
llvm-svn: 167537
2012-11-07 17:12:37 +00:00
Rafael Espindola
ebc56b217b
Remove really old benchmark data.
...
llvm-svn: 167098
2012-10-31 02:29:15 +00:00
Richard Smith
2ddcbab8ff
Ugly ugly hack for libstdc++-4.6 and libstdc++-4.7 compatibility. These
...
libraries have an incorrect definition of std::common_type (inherited from a
bug in the standard -- see LWG issue 2141), whereby they produce reference
types when they should not.
If we instantiate a typedef named std::common_type<...>::type, which is defined
in a system header as decltype(... ? ... : ...), and the decltype produces a
reference type, convert it to the non-reference type. (This doesn't affect any
LWG2141-conforming implementation of common_type, such as libc++'s, because the
default implementation of common_type<...>::type isn't supposed to produce a
reference type.)
This is horrible. I'm really sorry. :( Better ideas appreciated!
llvm-svn: 166455
2012-10-23 00:32:41 +00:00
Ted Kremenek
eb18262908
Add prologue text for list of potential checkers.
...
llvm-svn: 165705
2012-10-11 06:26:56 +00:00
Dmitri Gribenko
67df63f69d
List of potential checkers: smart pointer checker: actually, unique_ptr<T[]>
...
will do the right thing for new[] allocated memory. Thanks David!
llvm-svn: 165365
2012-10-06 17:23:59 +00:00
Dmitri Gribenko
760cbe65fd
Clang static analyzer docs: fix a couple of HTML markup issues and non-UTF-8
...
characters.
llvm-svn: 165364
2012-10-06 17:14:39 +00:00
Dmitri Gribenko
a124d76ed1
List of potential checkers: more C++11 details for the smart pointer checker.
...
llvm-svn: 165363
2012-10-06 16:59:15 +00:00
Ted Kremenek
76b8ac466e
Add link to potential future checkers.
...
llvm-svn: 165360
2012-10-06 05:11:15 +00:00
Ted Kremenek
4bb7eb1c20
Add list of potential checkers. Provided by Anton Yartsev!
...
llvm-svn: 165359
2012-10-06 05:09:43 +00:00
Richard Smith
84b163cf66
libstdc++-4.6 needs the same common_type fix as libstdc++-4.7. Other than that,
...
Clang can now cope with its eccentricities in C++11 mode.
llvm-svn: 165265
2012-10-04 22:23:07 +00:00
Ted Kremenek
bc8cd06865
Update checker build.
...
llvm-svn: 164649
2012-09-25 23:58:39 +00:00
David Blaikie
7c70fe60aa
Fix typo. (s/Explided/Exploded/)
...
Patch by Sean McBride.
llvm-svn: 164318
2012-09-20 20:59:21 +00:00
Ted Kremenek
b8cae9fddf
Post new checker build.
...
llvm-svn: 163680
2012-09-12 05:11:29 +00:00
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