Граф коммитов

844 Коммитов

Автор SHA1 Сообщение Дата
Ted Kremenek e42855ecc8 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157844 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-01 21:51:15 +00:00
Manuel Klimek 10e1629724 Links the entry point to the tooling documentation into clang's menu bar.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157462 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-25 08:39:21 +00:00
Richard Smith b264702bd9 Release notes update for -Wsometimes-uninitialized.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157459 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-25 02:35:34 +00:00
Ted Kremenek 6f9c05df3a Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157339 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-23 19:57:38 +00:00
Richard Smith 24fd6c8470 Clang 3.1 is out: turn the relevant C++11 status boxes green.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157308 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-23 01:38:11 +00:00
Chandler Carruth abccc1fb4c Clarify how libstdc++ and other bits of the system toolchain are found
on Linux in the getting started documentation.

Patch by Nathan Ridge.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156911 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16 08:18:58 +00:00
Anna Zaks 30a0908aeb [analyzer]Extend the available checks list and the release notes for 264
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156488 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-09 17:57:16 +00:00
Ted Kremenek 7f0873c1c9 Fix Engrish.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156465 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-09 06:29:38 +00:00
Ted Kremenek 2d99c59ace Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156462 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-09 04:35:15 +00:00
Ted Kremenek c472b2d8b7 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156449 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-09 00:08:47 +00:00
Ted Kremenek cfca6b7b79 Update checker build link, and remove stale links.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155622 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26 07:29:14 +00:00
Benjamin Kramer dd26998c1f Better C++11 support is no longer an advantage of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155312 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-22 11:34:43 +00:00
Benjamin Kramer 3a0b7b6ac7 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155217 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-20 18:43:50 +00:00
Richard Smith 0c5d0a8052 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155161 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 22:09:22 +00:00
Richard Smith 07d2f56717 Link to a tiny patch to libstdc++-4.7 to work around the <chrono> issues
from the C++ status page.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154890 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-17 01:04:22 +00:00
Eli Friedman 275a850542 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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154795 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-16 05:04:45 +00:00
Richard Smith 9d4e87e52c 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154644 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-13 01:02:19 +00:00
Douglas Gregor 316551f079 Add a query macro for C++11 N3276, decltype does not require complete
return types, from Michel Morin!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154428 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 20:00:33 +00:00
Richard Smith 1f4c54d9b0 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).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153464 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-26 20:31:41 +00:00
Richard Smith ec5a306dd4 Revert accidentally-committed www changes (and an unused diagnostic);
forward-declared enums aren't /quite/ done yet.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153350 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-23 23:11:49 +00:00
Richard Smith 3343fad1f1 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153349 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-23 23:09:08 +00:00
Ted Kremenek 2098c1c44b Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153312 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-23 07:06:16 +00:00
Richard Smith 86029ea254 Update front page to indicate that we do, in fact, support some of C++11.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153246 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-22 08:15:13 +00:00
Ted Kremenek 0950ca0c21 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152871 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-15 23:02:21 +00:00
Richard Smith f1c66b4021 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152750 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-14 23:13:10 +00:00
Richard Smith 15dcec73d1 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152528 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-11 03:06:00 +00:00
Richard Smith 26b75c0731 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152444 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 22:27:51 +00:00
Richard Smith 9c1dda7d7b User-defined literals are done.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152396 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 08:41:27 +00:00
Richard Smith ec92bc7897 Add a pile of tests for unrestricted unions, and advertise support for them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151992 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-03 23:51:05 +00:00
Ted Kremenek 8ec5ce2118 Fix documentation typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151573 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-27 21:40:10 +00:00
Sebastian Redl d1dc3aa257 Initializer lists are now supported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151458 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-25 20:51:27 +00:00
Richard Smith 1e409d8336 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151381 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-24 18:42:08 +00:00
Richard Smith a5ec58d736 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).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151380 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-24 18:37:14 +00:00
Anna Zaks 55882446ce [analyzer] Add CString checks to the release notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151286 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 21:38:14 +00:00
Douglas Gregor c101411c64 Tweak C++ status table:
- Apparently, SVN is yellow
  - Note that initializer lists are "in progress"


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151232 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 03:10:24 +00:00
Douglas Gregor 7c07e964d7 Clang now supports lambda expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151231 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 03:02:32 +00:00
Ted Kremenek a5964421cf Tweak release note comments for checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151219 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 00:48:17 +00:00
Ted Kremenek 64089945cd Update checker build to checker-261.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151218 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 00:47:09 +00:00
Richard Smith 65967ec545 I hereby declare that all remaining constexpr issues are bugs, not unimplemented
features. :)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150522 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-14 22:39:23 +00:00
Benjamin Kramer bf020bb27b Getting Started: Add a missing "cd ../..".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150181 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-09 16:04:50 +00:00
Aaron Ballman e7d923dff6 Updated information on how to perform command line testing on Windows when built from MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150180 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-09 15:23:18 +00:00
Ted Kremenek 8ec2bc8926 Post link to checker-260, which is checker-259 with some experimental checks enabled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149032 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-26 03:02:34 +00:00
Ted Kremenek d2e7090f97 Post open source analyzer build checker-259.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148988 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-25 22:18:04 +00:00
Anna Zaks 315ff366e4 [analyzer] www: A minor cleanup to the dev manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148514 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-20 00:11:04 +00:00
Benjamin Kramer 665a8dc953 Fix ALL the markup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148219 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-15 15:26:07 +00:00
Richard Smith d135641cdc Revert accidentally-committed file in r148020.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148021 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-12 06:10:09 +00:00
Richard Smith 61e6162064 Allow constant-folding of references which were formed in a manner not permitted
in a constant expression, for compatibility with g++.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148020 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-12 06:08:57 +00:00
Anna Zaks a772b86a6e [analyzer] Update the docs to reflect that gcc is not the only default
compiler option.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147645 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-06 01:54:08 +00:00
Ted Kremenek 00b64f39de Add missing #endif in documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147556 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-04 22:35:02 +00:00
Sean Hunt 04bea93961 Make this text slightly more accurate; thanks to Johannes Schaub for
pointing this out.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147346 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-29 18:40:13 +00:00