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

886 Коммитов

Автор SHA1 Сообщение Дата
Jordan Rose f7fd7994a0 Various tweaks and updates to the analyzer website.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171885 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-08 19:29:37 +00:00
Ted Kremenek 409474f9bd Repost checker-270, which for some reason got deleted.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171870 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-08 17:33:58 +00:00
Anna Zaks 9da34f900b [analyzer] Extend the Representing Values section of the dev manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171823 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-08 00:25:14 +00:00
Ted Kremenek e695677108 Update checker build to checker-270
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171560 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-04 23:52:16 +00:00
NAKAMURA Takumi 831fb8d3ed docs: [CMake] Add Xcode to the list of project formats CMake can generate.
Suggested by Sean McBride, thanks!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168745 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-27 23:34:28 +00:00
NAKAMURA Takumi 0dffb7b7fe clang/www/get_started.html: s/cmake/CMake/
Suggested by Sean McBride, thanks!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168744 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-27 23:34:08 +00:00
Argyrios Kyrtzidis 40b48a1b92 Mention the lldb formatters in the clang wiki under debugging.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168118 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-16 00:25:28 +00:00
Tanya Lattner 8a3e578ed7 Add link to cfe-users mailing list.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168015 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-15 01:13:31 +00:00
Jordan Rose 0fe4d400ab [analyzer] Check that the argument to CFMakeCollectable is non-NULL.
Patch by Sean McBride!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167537 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-07 17:12:37 +00:00
Rafael Espindola af6f612af4 Remove really old benchmark data.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167098 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-31 02:29:15 +00:00
Richard Smith b5b37d194d 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!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166455 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-23 00:32:41 +00:00
Ted Kremenek e861dd947d Add prologue text for list of potential checkers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165705 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-11 06:26:56 +00:00
Dmitri Gribenko 09fa33bfe7 List of potential checkers: smart pointer checker: actually, unique_ptr<T[]>
will do the right thing for new[] allocated memory.  Thanks David!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165365 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-06 17:23:59 +00:00
Dmitri Gribenko b4e45295a8 Clang static analyzer docs: fix a couple of HTML markup issues and non-UTF-8
characters.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165364 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-06 17:14:39 +00:00
Dmitri Gribenko 9074fbe189 List of potential checkers: more C++11 details for the smart pointer checker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165363 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-06 16:59:15 +00:00
Ted Kremenek e3af20d2e8 Add link to potential future checkers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165360 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-06 05:11:15 +00:00
Ted Kremenek 41c1c717cf Add list of potential checkers. Provided by Anton Yartsev!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165359 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-06 05:09:43 +00:00
Richard Smith c339393067 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165265 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-04 22:23:07 +00:00
Ted Kremenek a74b9cd8a6 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164649 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-25 23:58:39 +00:00
David Blaikie cb5336fa59 Fix typo. (s/Explided/Exploded/)
Patch by Sean McBride.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164318 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-20 20:59:21 +00:00
Ted Kremenek f1c7060076 Post new checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163680 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-12 05:11:29 +00:00
Benjamin Kramer 6f79420b86 WWW: Force word wrapping of the content to avoid horizontal scrolling.
This isn't perfect but avoids overlap of the menu and the content.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162903 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-30 13:12:02 +00:00
Rafael Espindola 0435943897 Small change to avoid confusion on what "used by" means for a compiler.
Patch by Jonathan Sauer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161897 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-14 21:58:29 +00:00
Chandler Carruth e56f3a69c4 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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161855 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-14 07:19:09 +00:00
Chandler Carruth 4bc2d1e4ad Clean up the basic instructions for getting started with clang to always
return to the same directory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161823 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-14 00:41:30 +00:00
Chris Lattner 9a58584bb1 clarify that the advantages of the BSD license apply to when you incorporate clang into proprietary code bases,
patch by Jonathan Sauer.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161475 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-08 05:26:51 +00:00
Eric Christopher a5c12b9429 Add some missing functions to builtins.py.
rdar://10112601

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161227 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-03 00:13:44 +00:00
Sylvestre Ledru 43e3deeabf Fix some minor typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161036 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-31 06:56:50 +00:00
Sylvestre Ledru bed28ac1d1 Fix a typo (the the => the)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160622 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-23 08:59:39 +00:00
Ted Kremenek 32bb534cef Place checker build at alternate URL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160247 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-16 04:18:35 +00:00
Richard Trieu e59331ac34 Update documentation with regards to template type diffing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159249 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27 02:00:20 +00:00
Anna Zaks 843f0e87e5 Make the analyzer site a single point of reference for info
on controlling diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158581 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-16 00:30:21 +00:00
Anna Zaks 8ca9ff7ff7 [analyzer] WWW: Shorten the menu title.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158356 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-12 13:18:20 +00:00
Anna Zaks dd895f056b [analyzer] WWW: Add FAQ to the menu.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158335 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-11 22:35:53 +00:00
Anna Zaks 3cb92f72a3 [analyzer] WWW: FAQ - fix the assertion use example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158333 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-11 22:09:48 +00:00
Anna Zaks 5076e8a847 [analyzer] The FAQ question style shouldn't be the same as code_example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158332 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-11 22:09:46 +00:00
Anna Zaks e06f5a05d1 [analyzer] WWW: Add table of contents, fixed code examples.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158331 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-11 22:09:44 +00:00
Anna Zaks 5e6d5bedf6 [analyzer] WWW: Mention that we do not support "noreturn" for methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158330 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-11 22:09:41 +00:00
Ted Kremenek dea37f26ab Add CSS style for FAQ questions, and restate FAQ questions as actual questions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158282 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-09 20:10:45 +00:00
Ted Kremenek c1cb12bb61 Wordsmith a bit, and turn </h1> into </h4> when appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158281 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-09 20:10:42 +00:00
Anna Zaks 70186fc9e0 [analyzer] FAQ page fixup
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158254 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-09 01:05:01 +00:00
Anna Zaks 568bdeed56 [analyzer] Add FAQ and How to Deal with Common False Positives page
Still not linked in; comments and additions are very welcome.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158253 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-09 01:04:54 +00:00
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