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
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