Douglas Gregor
9bcdc82642
Update C++0x status page to reflect support for unicode string and character literals, from Craig Topper
...
llvm-svn: 136216
2011-07-27 15:10:09 +00:00
Douglas Gregor
d99d49c6cb
Easier debugging with Visual Studio Visualizers, from Nikola Smiljanic!
...
llvm-svn: 136207
2011-07-27 05:22:46 +00:00
Douglas Gregor
918f98ab42
Update C++0x status for explicit override controls and explicit
...
conversion operators, from Jonathan Sauer.
llvm-svn: 135932
2011-07-25 18:53:48 +00:00
NAKAMURA Takumi
b44cd82d90
www/get_started.html: Fix a phrase, "in the *build* directory* in the instructions of Visual Studio. Thanks to Andreas Bittel to point it out.
...
llvm-svn: 135907
2011-07-25 12:40:26 +00:00
Chris Lattner
640eddea29
add link to 2010 dev mtg
...
llvm-svn: 135892
2011-07-24 21:00:45 +00:00
Douglas Gregor
c14b763865
Add a link-friendly name to the Clang extension acceptance criteria
...
llvm-svn: 135859
2011-07-23 19:22:17 +00:00
Douglas Gregor
da2f675c5c
Document the criteria for evaluating a proposed extension to Clang.
...
llvm-svn: 135858
2011-07-23 19:21:07 +00:00
Richard Smith
42a4996b5a
Update cxx_status page on www: clang has had full support for in-class initializers since r132890.
...
llvm-svn: 135689
2011-07-21 18:02:57 +00:00
Douglas Gregor
17aa45d431
Clean up the C++ status page by eliminating the utterly unnecessary set of projects. C++98/03 is sooooo yesterday
...
llvm-svn: 135687
2011-07-21 17:46:15 +00:00
Douglas Gregor
80d6322c00
Update C++0x nullptr status, from Jonathan Sauer
...
llvm-svn: 135686
2011-07-21 17:41:00 +00:00
Bill Wendling
03400e17fe
Remove extraneous period.
...
llvm-svn: 135619
2011-07-20 21:02:28 +00:00
Jay Foad
0b16695d93
Hyphenate "argument-dependent".
...
llvm-svn: 132989
2011-06-14 12:59:25 +00:00
Ted Kremenek
ef644c56a2
Remove stale reference to libIndex.
...
llvm-svn: 132757
2011-06-08 19:52:31 +00:00
Richard Smith
998a591e32
Fix PR10053: Improve diagnostics and error recovery for code which some compilers incorrectly accept due to a lack of proper support for two-phase name lookup.
...
llvm-svn: 132672
2011-06-05 22:42:48 +00:00
Douglas Gregor
7e51117db2
Improve the readability of the "Expressive Diagnostics" page, from Dave Yost!
...
llvm-svn: 132432
2011-06-01 22:45:49 +00:00
Chris Lattner
4b799d4e0c
make this a bit less confusing
...
llvm-svn: 132262
2011-05-28 17:53:17 +00:00
Ted Kremenek
848c3ab60a
Update checker build to checker-257.
...
llvm-svn: 132060
2011-05-25 16:30:14 +00:00
Douglas Gregor
c586166fe3
Eliminate old, useless tutorial page
...
llvm-svn: 131292
2011-05-13 14:43:48 +00:00
Chris Lattner
b4ccc2d09e
some updates.
...
llvm-svn: 131286
2011-05-13 05:29:16 +00:00
Chris Lattner
935304e12e
this never happened.
...
llvm-svn: 131285
2011-05-13 05:22:41 +00:00
Chris Lattner
98b9029d88
remove some old redirect pages. We're into our 3rd year of redirecting, the world should have adjusted by now :)
...
llvm-svn: 131284
2011-05-13 05:21:33 +00:00
Richard Smith
e3a5ff1508
Update www: we now mangle references to function parameters properly. Also, this is really more a decltype issue rather than a late-specified return type issue.
...
llvm-svn: 130958
2011-05-05 22:07:51 +00:00
Richard Smith
3f1b5d077b
Implement support for C++0x alias templates.
...
llvm-svn: 130953
2011-05-05 21:57:07 +00:00
Jeffrey Yasskin
990a969892
Remove several more rvalue references from swap arguments in libstdc++4.4.
...
unique_ptr and shared_ptr changes by Daniel Mierswa!
llvm-svn: 130762
2011-05-03 17:28:13 +00:00
Alexis Hunt
61bc173784
Fully implement delegating constructors!
...
As far as I know, this implementation is complete but might be missing a
few optimizations. Exceptions and virtual bases are handled correctly.
Because I'm an optimist, the web page has appropriately been updated. If
I'm wrong, feel free to downgrade its support categories.
llvm-svn: 130642
2011-05-01 07:04:31 +00:00
Richard Smith
6c42433ceb
Update www: clang now supports C++11 for-range and non-template type aliases.
...
llvm-svn: 129569
2011-04-15 14:38:27 +00:00
Chris Lattner
57540c5be0
fix a bunch of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129559
2011-04-15 05:22:18 +00:00
Richard Smith
fdc33cbecd
Name mangling of late-specified return types doesn't work if the return type references the argument types:
...
template<typename T> auto f(T a) -> decltype(a.foo());
Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work".
llvm-svn: 129533
2011-04-14 19:57:19 +00:00
Ted Kremenek
7114954232
Update public analyzer build to checker-256.
...
llvm-svn: 129473
2011-04-13 21:48:34 +00:00
John Thompson
9bfba16a66
Added link to LLVM cmake page in Visual Studio section.
...
llvm-svn: 129013
2011-04-06 18:22:12 +00:00
Richard Smith
13f68cf53e
clang has had full and tested support for C++0x trailing-return-type and auto type deduction since r126166. Update the website to reflect this, and add a __has_feature test.
...
trailing-return-type codegen is not tested yet (name mangling in particular).
llvm-svn: 128787
2011-04-03 14:12:46 +00:00
Jeffrey Yasskin
cb40757195
Add a libstdc++-4.4 patch for C++0x to the website.
...
llvm-svn: 128498
2011-03-29 22:27:50 +00:00
Douglas Gregor
0a1650feae
Clang supports __STDC_HOSTED__. Patch by Jonathan Sauer
...
llvm-svn: 128377
2011-03-27 09:49:38 +00:00
NAKAMURA Takumi
823f3eb142
www/get_started.html: Fix a few URLs.
...
llvm-svn: 128372
2011-03-27 02:04:21 +00:00
NAKAMURA Takumi
2d60add66c
www/hacking.html: Add blurb of LLVM_LIT_TOOLS_DIR.
...
llvm-svn: 127863
2011-03-18 03:21:44 +00:00
NAKAMURA Takumi
6048f80b1a
www/hacking.html: Cosmetic change, to detabify, eliminate whitespace, and add proper slashes to URL.
...
llvm-svn: 127862
2011-03-18 03:21:38 +00:00
Douglas Gregor
20cbd059d4
Mention an XML printer on the Open Projects page
...
llvm-svn: 127336
2011-03-09 16:27:48 +00:00
Richard Smith
bb7dcf59a0
Update the www to indicate that auto is now implemented.
...
llvm-svn: 126280
2011-02-23 00:41:16 +00:00
Ted Kremenek
dcc45f6ec1
Update text for where to file analyzer bugs.
...
llvm-svn: 125983
2011-02-18 22:42:04 +00:00
Ted Kremenek
ba6ead4bc0
Update static analyzer build to checker-255.
...
llvm-svn: 125432
2011-02-12 03:20:34 +00:00
John McCall
2bd04c3114
More tweaks to the compatibility page.
...
llvm-svn: 124792
2011-02-03 11:29:18 +00:00
John McCall
93adb039b5
More minor documentation tweaks.
...
llvm-svn: 124791
2011-02-03 11:05:04 +00:00
John McCall
37d30c93ca
Rework the __block jump-checking section, including a justification of
...
why this bug can go uncaught.
llvm-svn: 124790
2011-02-03 10:56:31 +00:00
John McCall
55199a63df
Rework and embellish the C99 inline compatibility section.
...
llvm-svn: 124789
2011-02-03 10:16:40 +00:00
Ted Kremenek
47537b617e
Document that set-xcode-analyzer should typically be run using sudo.
...
llvm-svn: 124602
2011-01-31 20:45:38 +00:00
Ted Kremenek
44dc127f78
Adjust casing of attributes in examples.
...
llvm-svn: 124445
2011-01-27 22:00:02 +00:00
Ted Kremenek
e801399372
Fix download link.
...
llvm-svn: 124405
2011-01-27 19:49:07 +00:00
Ted Kremenek
8688e078ae
Add missing </a>
...
llvm-svn: 124403
2011-01-27 19:42:34 +00:00
Ted Kremenek
cfc9dc6876
Update checker build and post release notes.
...
llvm-svn: 124402
2011-01-27 19:41:08 +00:00
Ted Kremenek
afe348ea43
Wire up attributes 'ns_consumed' and 'cf_consumed' in the static analyzer's ObjC retain/release checker.
...
llvm-svn: 124386
2011-01-27 18:43:03 +00:00
Ted Kremenek
35389de110
Fix HTML highlighting and add missing line.
...
llvm-svn: 124362
2011-01-27 07:02:03 +00:00
Ted Kremenek
4272cbdff5
Fix a few typos in HTML documentation.
...
llvm-svn: 124361
2011-01-27 06:59:29 +00:00
Ted Kremenek
0e89838ced
Hook up attribute ns_consumes_self in the ObjC retain/release checker in the static analyzer.
...
llvm-svn: 124360
2011-01-27 06:54:14 +00:00
Douglas Gregor
9636753d39
Update C++0x status web page
...
llvm-svn: 124326
2011-01-26 21:35:14 +00:00
Douglas Gregor
52552c8a32
Note the need for --param=build_config=whatever in the Hacking Clang document, from Yuri Gribov
...
llvm-svn: 124130
2011-01-24 18:04:58 +00:00
Douglas Gregor
eecc6bc388
Variadic templates are fully implemented.
...
Turn on the __has_feature switch for variadic templates, document
their completion, and put the ExtWarn into the c++0x-extensions
warning group.
llvm-svn: 123854
2011-01-19 22:11:50 +00:00
Douglas Gregor
cf082adeca
Add back the late-specified return type paper
...
llvm-svn: 122317
2010-12-21 05:54:22 +00:00
Douglas Gregor
6b6e08228c
Updates to the C++ status page for C++0x features, from Michael Price
...
llvm-svn: 122315
2010-12-21 05:43:31 +00:00
Ted Kremenek
1b0340a1dd
Update checker build.
...
llvm-svn: 122051
2010-12-17 07:56:27 +00:00
Michael J. Spencer
7ed7afc8b7
Getting Started: Add VS2010 instructions and specify an out of source build.
...
llvm-svn: 122003
2010-12-16 22:01:14 +00:00
Chris Lattner
bff5d86699
c/objc/c++'98 are basically done, but we want '0x support.
...
Add "clang indent" as a possible project, we really really
need it. :)
llvm-svn: 121030
2010-12-06 19:46:27 +00:00
Ted Kremenek
2e3bceafd9
Update analyzer build.
...
llvm-svn: 120802
2010-12-03 07:52:43 +00:00
Ted Kremenek
b360ae4ec5
Update checker build.
...
llvm-svn: 120487
2010-11-30 23:08:24 +00:00
Ted Kremenek
4490e1015f
Update checker build.
...
llvm-svn: 119318
2010-11-16 01:56:23 +00:00
Chris Lattner
2536851543
typo2
...
llvm-svn: 119035
2010-11-14 07:30:46 +00:00
Chris Lattner
11a8d05bea
fix typo
...
llvm-svn: 119034
2010-11-14 07:09:32 +00:00
Chris Lattner
3bb7aab0b0
add a note about inline asm compatibility.
...
llvm-svn: 118740
2010-11-10 23:51:50 +00:00
Douglas Gregor
4640a18cf4
Document a language-compatibility issue with function parameter names in function prototypes in C++
...
llvm-svn: 118712
2010-11-10 20:24:21 +00:00
Daniel Dunbar
4b496bc35a
Add a compat note about how Clang doesn't zero-initialize __block local variables.
...
llvm-svn: 118641
2010-11-09 22:45:16 +00:00
Ted Kremenek
5fab27aa6c
Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" to be consistent with all other snippets on this page.
...
Patch by Jean-Daniel Dupas!
llvm-svn: 118603
2010-11-09 18:54:17 +00:00
Daniel Dunbar
6b83538ac8
Add link to LLVM releases page.
...
llvm-svn: 118095
2010-11-02 22:34:04 +00:00
Rafael Espindola
4f8857e6f4
Use objdir != srcdir in the getting started doc.
...
llvm-svn: 117723
2010-10-29 22:05:17 +00:00
Eric Christopher
55f21aae85
Add and describe a quick script to migrate gcc builtins that clang doesn't
...
know about to the default APIs for x86 vector operations.
llvm-svn: 117313
2010-10-25 21:17:59 +00:00
Fariborz Jahanian
2b427c7fb0
Update compatibility page for objective-c.
...
llvm-svn: 117168
2010-10-22 22:35:51 +00:00
Gabor Greif
6a46da277f
validator
...
llvm-svn: 116668
2010-10-16 09:40:21 +00:00
Gabor Greif
4b50bd8a2e
these items are done, afaik
...
llvm-svn: 116667
2010-10-16 09:29:38 +00:00
Daniel Dunbar
b4ece9cf2f
Add an empty robots.txt, mostly just to reduce errors in HTTP log.
...
llvm-svn: 116658
2010-10-16 04:10:37 +00:00
Daniel Dunbar
cc5b831149
Add a favicon.ico, mostly just to reduce errors in HTTP log.
...
llvm-svn: 116657
2010-10-16 04:08:19 +00:00
Chris Lattner
a45ebd2fd1
be less threatening.
...
llvm-svn: 116187
2010-10-11 05:20:49 +00:00
Douglas Gregor
a881010621
Bugs should go to Bugzilla, not the mailing list
...
llvm-svn: 115972
2010-10-07 20:20:57 +00:00
Daniel Dunbar
7bb159b33c
www: Grammar, etc.
...
llvm-svn: 115914
2010-10-07 15:00:19 +00:00
Chris Lattner
586c51e0b7
clang++ sorta works now
...
llvm-svn: 115903
2010-10-07 04:28:56 +00:00
Daniel Dunbar
25a3ada060
www: Add a "Clang Related Projects" page, to collect links to external projects
...
using Clang in one way or another. Additions welcome!
llvm-svn: 115508
2010-10-04 15:40:45 +00:00
Nick Lewycky
3fd2928a45
Correct this name so I stop giving out the wrong email address.
...
llvm-svn: 115209
2010-09-30 21:20:23 +00:00
Ted Kremenek
2e0c7cc8c3
Update docs to include proper location of clang binary.
...
llvm-svn: 115088
2010-09-29 21:41:56 +00:00
Ted Kremenek
866ac0a0da
Update checker build.
...
llvm-svn: 114615
2010-09-23 00:35:46 +00:00
Douglas Gregor
21fd023d44
Update C++0x status
...
llvm-svn: 114217
2010-09-17 21:37:49 +00:00
Chris Lattner
e3c1b9317a
add a compatibility note about vector builtins
...
llvm-svn: 114101
2010-09-16 18:17:55 +00:00
Argyrios Kyrtzidis
cebc0f006f
Add a compatibility note about clang not implicitly converting between objc_object* and id (and SEL, Class).
...
llvm-svn: 113761
2010-09-13 17:48:07 +00:00
Francois Pichet
9672347122
Update website to reflect that tests are no longer failing on Windows.
...
llvm-svn: 113704
2010-09-11 21:16:11 +00:00
Douglas Gregor
a139692ada
Update documentation to reflect the addition of support for in-class
...
initialization of static const floating-point data membmers (John's
patch, in r113663).
llvm-svn: 113701
2010-09-11 20:30:02 +00:00
Ted Kremenek
516484c71e
Update checker build.
...
llvm-svn: 113569
2010-09-10 01:20:17 +00:00
Dawn Perchik
90ca316167
Put the info on testing from the command line into its own section
...
titled "Testing on the Command Line".
llvm-svn: 112972
2010-09-03 17:01:13 +00:00
Daniel Dunbar
90dc0c574d
Fix a typo.
...
llvm-svn: 112926
2010-09-03 00:41:43 +00:00
Daniel Dunbar
5dc823f7ef
Add a compatibility note about why Clang rejects jumps past __block variables.
...
llvm-svn: 112865
2010-09-02 21:35:16 +00:00
Gabor Greif
156315b7d8
the target of the link uses the singular form, so do we too
...
llvm-svn: 112367
2010-08-28 11:05:27 +00:00
Gabor Greif
e27ea5c92e
typo
...
llvm-svn: 112366
2010-08-28 11:03:06 +00:00
Gabor Greif
e4d36a2415
mark boost's tracking bug as fixed
...
llvm-svn: 112183
2010-08-26 14:20:18 +00:00
Fariborz Jahanian
0150367c27
Update documentation regarding use of 'class' in
...
property-dot syntax.
llvm-svn: 110841
2010-08-11 18:57:26 +00:00
Ted Kremenek
e92d2749b8
Update checker build.
...
llvm-svn: 109907
2010-07-30 23:07:20 +00:00
Ted Kremenek
73e2df464f
Update checker build.
...
llvm-svn: 109862
2010-07-30 16:27:57 +00:00
Tanya Lattner
5b46803955
Test commit
...
llvm-svn: 109604
2010-07-28 18:19:43 +00:00
Tanya Lattner
564798dfa9
Test commit.
...
llvm-svn: 109601
2010-07-28 18:08:38 +00:00
Ted Kremenek
2deaa98821
Update checker build.
...
llvm-svn: 109600
2010-07-28 17:44:21 +00:00
Chris Lattner
76f0cf457c
path renamed.
...
llvm-svn: 109464
2010-07-26 22:51:00 +00:00
Ted Kremenek
3245003251
Add missing whitespace.
...
llvm-svn: 107897
2010-07-08 19:43:08 +00:00
Ted Kremenek
30ae68bd17
Update checker build.
...
llvm-svn: 107893
2010-07-08 18:08:18 +00:00
Duncan Sands
b69d4ce5f3
Tweak documentation to mention Debug+Asserts.
...
llvm-svn: 107863
2010-07-08 08:31:28 +00:00
Douglas Gregor
d537dc022a
Update diagnostic on compatibility page to reflect reality
...
llvm-svn: 107382
2010-07-01 03:50:01 +00:00
Douglas Gregor
3671ad4571
Revert r107374, which broke bootstrap.
...
llvm-svn: 107378
2010-07-01 03:28:42 +00:00
Douglas Gregor
c6e4c68371
When building the type of a destructor, make sure to keep the
...
exception specification. Fixes PR7526.
llvm-svn: 107374
2010-07-01 02:33:15 +00:00
Ted Kremenek
78f8c3014d
Update checker build.
...
llvm-svn: 107364
2010-07-01 01:06:36 +00:00
Douglas Gregor
56f2e34a6a
Improve diagnostic when we fail to pick an overload because it would
...
require a base-to-derived pointer conversion.
llvm-svn: 107349
2010-06-30 23:01:39 +00:00
Douglas Gregor
5396853d81
Wording tweak from Dan.
...
llvm-svn: 107344
2010-06-30 22:43:03 +00:00
Douglas Gregor
426c572d78
Wording tweak from Dan.
...
llvm-svn: 107343
2010-06-30 22:38:37 +00:00
Benjamin Kramer
aab931dd32
typo.
...
llvm-svn: 107342
2010-06-30 22:29:56 +00:00
Douglas Gregor
9c9f26d4bf
New language-compatibility page, including language-compatibility information for the various language dialects Clang supports in a single, easy-to-find page
...
llvm-svn: 107325
2010-06-30 22:01:08 +00:00
Ted Kremenek
e4e9941ae7
Update checker build.
...
llvm-svn: 106495
2010-06-21 22:25:24 +00:00
John McCall
be829868e1
Rework the unqualified-lookup-in-templates section of the compatibility
...
document. jyasskin, let me know if this meets your needs.
llvm-svn: 106098
2010-06-16 10:48:16 +00:00
John McCall
89d57ae436
Some more nods to HTML well-formedness.
...
llvm-svn: 106094
2010-06-16 08:48:08 +00:00
Jeffrey Yasskin
babff2ce56
Fix template ordering compatibility docs. I missed another section that covered
...
the same thing.
llvm-svn: 106076
2010-06-16 01:12:12 +00:00
Jeffrey Yasskin
0952ea77ee
Describe a gcc compatibility problem that occurs when a template calls a
...
function defined between its declaration and an instantiation, and that
function isn't findable through ADL.
llvm-svn: 106068
2010-06-15 23:50:08 +00:00
Daniel Dunbar
9886f71db7
www: Swap external coverage & spec references links.
...
llvm-svn: 105925
2010-06-13 21:07:10 +00:00
Daniel Dunbar
40e640c8df
www: Add note on running clang tests from a CMake build, patch by Peter Collingbourne
...
llvm-svn: 105791
2010-06-10 17:01:45 +00:00
Chris Lattner
1737957803
clang++ is now a different greek letter.
...
llvm-svn: 105313
2010-06-02 05:27:21 +00:00
John McCall
58ec0483b7
Add a compatibility note about incomplete types in templates.
...
llvm-svn: 105309
2010-06-02 01:26:32 +00:00
Ted Kremenek
f9d147bddb
Update checker build.
...
llvm-svn: 104817
2010-05-27 06:27:45 +00:00
Douglas Gregor
a09387df9f
It turns out that people love using VLAs in templates, too. Weaken our
...
VLA restrictions so that one can use VLAs in templates (even
accidentally), but not as part of a non-type template parameter (which
would be very bad).
llvm-svn: 104471
2010-05-23 19:57:01 +00:00
Douglas Gregor
959d5a0cbd
Implement support for variable length arrays in C++. VLAs are limited
...
in several important ways:
- VLAs of non-POD types are not permitted.
- VLAs cannot be used in conjunction with C++ templates.
These restrictions are intended to keep VLAs out of the parts of the
C++ type system where they cause the most trouble. Fixes PR5678 and
<rdar://problem/8013618>.
llvm-svn: 104443
2010-05-22 16:17:30 +00:00
Chris Lattner
33eee34230
minor updates
...
llvm-svn: 104436
2010-05-22 07:02:06 +00:00
Chris Lattner
b9ea2c29a1
down with export.
...
llvm-svn: 104383
2010-05-21 21:16:21 +00:00
Chris Lattner
da9e3287f9
another unneeded line.
...
llvm-svn: 104379
2010-05-21 21:02:17 +00:00
Chris Lattner
6fe3748de4
major update to the C++ status page. C++ support is
...
now done and no more patches to it will be accepted.
llvm-svn: 104378
2010-05-21 20:59:40 +00:00
Ted Kremenek
e6e847079c
Add documention on ns_returns_not_retained and cf_returns_not_retained attributes.
...
llvm-svn: 103785
2010-05-14 18:13:43 +00:00
Douglas Gregor
c022914620
BoostCon tutorial notes, temporary
...
llvm-svn: 103520
2010-05-11 22:09:20 +00:00
Daniel Dunbar
d43f08d06e
Update latest checker build to a local link.
...
llvm-svn: 103332
2010-05-08 02:03:49 +00:00
Chris Lattner
6eeb221f3b
mention that cmake works on unix too. PR7061
...
llvm-svn: 103202
2010-05-06 21:57:57 +00:00
Douglas Gregor
61c1ac2e5c
Remove the blanket statement about Clang not supporting access control. It does now
...
llvm-svn: 101041
2010-04-12 16:01:38 +00:00
Ted Kremenek
85421e9555
Update checker build.
...
llvm-svn: 100987
2010-04-11 21:02:52 +00:00
John McCall
81a4a72e84
Add a note to the C++ compatibility page about templates with no
...
valid instantiations.
llvm-svn: 100836
2010-04-09 01:07:07 +00:00
Chris Lattner
4b73cfabac
rename llvm::llvm_report_error -> llvm::report_fatal_error
...
llvm-svn: 100708
2010-04-07 22:58:06 +00:00
Ted Kremenek
232d44ed48
Update checker build.
...
llvm-svn: 100603
2010-04-07 04:09:49 +00:00
Ted Kremenek
cbcb692133
Update analyzer build.
...
llvm-svn: 100153
2010-04-01 23:25:38 +00:00
Gabor Greif
bf82f94d35
provide a simpler way to get to the headers
...
llvm-svn: 99843
2010-03-29 21:36:06 +00:00
Ted Kremenek
344242f1e4
Remove VS information for analyzer until we have more real support.
...
llvm-svn: 99720
2010-03-27 16:56:20 +00:00
Kovarththanan Rajaratnam
bfc61ea0a7
s/Clangify2010.py/clangify2010.py
...
llvm-svn: 99712
2010-03-27 08:21:15 +00:00
Ted Kremenek
c59230a7d7
Add initial draft of web page on 'clangifty2010.py' script for analyzing VS projects.
...
llvm-svn: 99691
2010-03-27 01:06:58 +00:00
John McCall
cb81625851
Add another compatibility note and tweak a few of the existing ones.
...
llvm-svn: 98717
2010-03-17 07:10:56 +00:00
Chandler Carruth
7b621ea10a
Fix a typo in a tag.
...
llvm-svn: 98713
2010-03-17 05:46:21 +00:00
Rafael Espindola
fcc4739089
Document common clang compatibility issues.
...
Patch by Zhanyong Wan.
llvm-svn: 98708
2010-03-17 04:31:53 +00:00
Ted Kremenek
c52ea21a6e
Fix grammar
...
llvm-svn: 98352
2010-03-12 16:46:36 +00:00
Ted Kremenek
e3243224bf
Update checker build.
...
llvm-svn: 98259
2010-03-11 16:47:29 +00:00
Ted Kremenek
9704635375
Fix typo.
...
llvm-svn: 97365
2010-02-28 05:14:08 +00:00
Ted Kremenek
07130c35d5
Update checker build.
...
llvm-svn: 97186
2010-02-26 00:07:31 +00:00
Ted Kremenek
2b5faeb84f
Fix link.
...
llvm-svn: 96684
2010-02-19 18:12:09 +00:00
Ted Kremenek
a3e1e99b05
Update front page to mention Xcode integration.
...
llvm-svn: 96682
2010-02-19 17:33:38 +00:00
Ted Kremenek
3efee522ee
Expose "Key features" paragraph.
...
llvm-svn: 96681
2010-02-19 17:33:30 +00:00
Ted Kremenek
353394f7b1
Label examples.
...
llvm-svn: 96668
2010-02-19 08:24:37 +00:00
Ted Kremenek
d14f766789
Fix link.
...
llvm-svn: 96667
2010-02-19 08:19:14 +00:00
Ted Kremenek
33b73215c8
Simplify menu.
...
llvm-svn: 96666
2010-02-19 08:18:02 +00:00
Ted Kremenek
92b4bd9556
Tweak menu.
...
llvm-svn: 96665
2010-02-19 08:16:18 +00:00
Ted Kremenek
926520489a
Add section on using the analyzer within Xcode.
...
llvm-svn: 96664
2010-02-19 08:14:02 +00:00
Ted Kremenek
809c89461d
Add new intro about running scan-build.
...
llvm-svn: 96658
2010-02-19 05:36:44 +00:00
Ted Kremenek
672bfeffe6
Update checker build.
...
llvm-svn: 96470
2010-02-17 08:08:21 +00:00
Ted Kremenek
8f8dcbaadd
(1) Correctly format external Javascript link.
...
(2) Reformat "annotations" topics list to use a collapsable tree.
llvm-svn: 96013
2010-02-12 21:05:44 +00:00
Ted Kremenek
00d1c5996b
Don't display border around images (in Firefox).
...
llvm-svn: 95772
2010-02-10 06:43:43 +00:00
Ted Kremenek
096807e77e
Pull header into side column.
...
llvm-svn: 95726
2010-02-09 23:42:00 +00:00
Ted Kremenek
118667c4b9
Increase page width for more modern displays.
...
llvm-svn: 95725
2010-02-09 23:40:10 +00:00
Ted Kremenek
f33109b452
Tweak CSS for options table.
...
llvm-svn: 95724
2010-02-09 23:32:46 +00:00
Ted Kremenek
d4d6abe512
Even more menu tweaking...
...
llvm-svn: 95722
2010-02-09 23:21:49 +00:00
Ted Kremenek
758f6acc95
More menu tweaking.
...
llvm-svn: 95721
2010-02-09 23:21:00 +00:00
Ted Kremenek
a362afe55f
Adjust height of main content.
...
llvm-svn: 95720
2010-02-09 23:18:43 +00:00
Ted Kremenek
1b24918fb2
Fix grammar.
...
llvm-svn: 95719
2010-02-09 23:18:00 +00:00
Ted Kremenek
7b461607f5
Change text alignment in menus.
...
llvm-svn: 95718
2010-02-09 23:16:24 +00:00
Ted Kremenek
390dd25d0f
Move file-specific styling to after the menu.
...
llvm-svn: 95717
2010-02-09 23:10:47 +00:00
Ted Kremenek
5c98bf55ac
Invert css inclusion order.
...
llvm-svn: 95716
2010-02-09 23:09:48 +00:00
Ted Kremenek
c6ee376692
More analyzer website tweaking in preparation for additional content.
...
llvm-svn: 95714
2010-02-09 23:05:59 +00:00
Ted Kremenek
1b018ab712
Fix javascript link.
...
llvm-svn: 95696
2010-02-09 21:49:53 +00:00
Ted Kremenek
c319f5c044
Fix javascript file link.
...
llvm-svn: 95694
2010-02-09 21:48:04 +00:00
Ted Kremenek
02f2a0c279
Update checker build.
...
llvm-svn: 95692
2010-02-09 21:42:12 +00:00
Anton Korobeynikov
c5c905e772
Fix typo
...
llvm-svn: 95664
2010-02-09 16:50:54 +00:00
Anton Korobeynikov
55496d736b
Clearify Qt status a bit
...
llvm-svn: 95663
2010-02-09 16:46:25 +00:00
Douglas Gregor
fa186e9e19
Add Qt, CMake projects to the list of C++ projects we're working on compiling
...
llvm-svn: 95662
2010-02-09 16:36:17 +00:00
Ted Kremenek
3f91c4b289
Fix grammar.
...
llvm-svn: 95618
2010-02-08 23:57:20 +00:00
Ted Kremenek
53c60c9a0a
Tweak menu.
...
llvm-svn: 95617
2010-02-08 23:56:51 +00:00
Ted Kremenek
156a8f92e6
Really increase menu width...
...
llvm-svn: 95615
2010-02-08 23:55:36 +00:00
Ted Kremenek
fcf4904144
Increase width of nav bar.
...
llvm-svn: 95612
2010-02-08 23:54:46 +00:00
Ted Kremenek
2960ec1c95
Add inclusion links for external JavaScript file.
...
llvm-svn: 95611
2010-02-08 23:52:41 +00:00
Ted Kremenek
d578ca93d6
Switch to drop-down menu style.
...
llvm-svn: 95610
2010-02-08 23:50:54 +00:00
Ted Kremenek
73fd7e3bee
Remove table (for now). Doesn't look so hot.
...
llvm-svn: 95590
2010-02-08 22:16:08 +00:00
Ted Kremenek
9f25dd587c
Add images showing the results in a web browser and Xcode respectively.
...
llvm-svn: 95589
2010-02-08 22:12:48 +00:00
Ted Kremenek
d0450d90b3
Remove link to Developer Meeting and tighten menu.
...
llvm-svn: 95576
2010-02-08 21:39:53 +00:00
Ted Kremenek
8eacbe5559
Add link to the current status of analysis support for C++.
...
llvm-svn: 95573
2010-02-08 21:36:47 +00:00
Ted Kremenek
83fdeb5855
Update checker build.
...
llvm-svn: 95490
2010-02-06 06:08:09 +00:00
Douglas Gregor
bb26a92239
Update Clang C++ status, with a more project-centric focus.
...
llvm-svn: 95455
2010-02-05 23:51:14 +00:00
Chris Lattner
7874e6eada
add another example.
...
llvm-svn: 95043
2010-02-02 01:35:23 +00:00
Daniel Dunbar
d6f13c3ff9
Add a Coding Standards section to hacking.html, and point out that cstdio is forbidden.
...
llvm-svn: 94137
2010-01-22 02:04:46 +00:00
Duncan Sands
37fe3ee2e2
Fix html glitch. Pointed out by clwi (PR6090).
...
llvm-svn: 94000
2010-01-20 12:40:56 +00:00
Chris Lattner
f0b0cb2dcb
comments shouldn't go in the AST, and we already make it easy
...
to go from a decl to the doc comments for it.
llvm-svn: 91785
2009-12-19 20:59:13 +00:00
Douglas Gregor
4044489d69
Update C++ status page to reflect reality
...
llvm-svn: 91541
2009-12-16 16:23:48 +00:00
Ted Kremenek
1668046db1
Update checker build.
...
llvm-svn: 91373
2009-12-15 00:32:46 +00:00
Ted Kremenek
3b90ed2628
Update checker build.
...
llvm-svn: 91222
2009-12-12 19:06:20 +00:00
Daniel Dunbar
520d1e6c6b
Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
...
llvm-svn: 91176
2009-12-11 23:04:35 +00:00
Ted Kremenek
2cba2ce28f
Update checker build.
...
llvm-svn: 90955
2009-12-09 06:58:36 +00:00
Ted Kremenek
217d7d7bcc
Update checker build.
...
llvm-svn: 90323
2009-12-02 16:42:21 +00:00
Kovarththanan Rajaratnam
cb58439f34
Tuck away scan-build related files into tools/scan-build
...
llvm-svn: 90215
2009-12-01 06:52:01 +00:00
Ted Kremenek
8404b5485a
Update checker build.
...
llvm-svn: 90062
2009-11-29 06:48:25 +00:00
Douglas Gregor
09177b2b7f
Update C++ status
...
llvm-svn: 89492
2009-11-20 22:00:06 +00:00
Chris Lattner
e6e64be1d9
fix thinko
...
llvm-svn: 86509
2009-11-09 04:04:07 +00:00
Chris Lattner
e5eb726e2e
mention that clang defaults to C99 mode, PR5388
...
llvm-svn: 86507
2009-11-09 03:21:02 +00:00
Chris Lattner
b8ca95481f
remove a mostly obsolete "word of warning"
...
llvm-svn: 86506
2009-11-09 03:18:18 +00:00
John Thompson
a8cb86bfd4
Update clang web pages with respect to Windows
...
llvm-svn: 86200
2009-11-06 00:06:29 +00:00
Ted Kremenek
8b64a734b8
Update checker build.
...
llvm-svn: 86126
2009-11-05 08:07:41 +00:00
Daniel Dunbar
865418a462
Add link to FatELF project.
...
llvm-svn: 85888
2009-11-03 08:18:34 +00:00
Benjamin Kramer
53ba5f21ff
Doug says this is medium done.
...
llvm-svn: 85592
2009-10-30 14:54:38 +00:00
Benjamin Kramer
c1dea5dded
cxx_status: fix some missing/wrong cells.
...
llvm-svn: 85591
2009-10-30 14:41:58 +00:00
Ted Kremenek
a4bb75e486
Update checker build.
...
llvm-svn: 85511
2009-10-29 16:18:45 +00:00
Fariborz Jahanian
370606afee
Restored note on pointer to members with a pointer
...
to issue involved.
llvm-svn: 85409
2009-10-28 18:06:53 +00:00
Fariborz Jahanian
7e4e44f5fa
Removed a Note related to pointer to member functions which
...
does not seem to exist any longer.
llvm-svn: 85405
2009-10-28 17:25:01 +00:00
Douglas Gregor
19f3d70149
Test
...
explicit-instantiation-declaration-after-explicit-instantiation-definition
errors. This wraps up explicit template instantiation for now.
llvm-svn: 85347
2009-10-27 23:55:05 +00:00
Ted Kremenek
7fd48d8549
Update checker build.
...
llvm-svn: 84750
2009-10-21 08:00:24 +00:00
Fariborz Jahanian
9559ced10b
Updated, we support == and != builtins for member pointers.
...
llvm-svn: 84679
2009-10-20 21:10:15 +00:00
Fariborz Jahanian
00c6d13dce
Changes to reflect more pointer-to-member support.
...
llvm-svn: 84670
2009-10-20 20:31:50 +00:00
Daniel Dunbar
b0e1c2bab5
Grammaro.
...
llvm-svn: 84388
2009-10-18 02:09:02 +00:00
Daniel Dunbar
a1944d704e
Describe/link some of the universal driver related work.
...
llvm-svn: 84369
2009-10-17 22:08:19 +00:00
Daniel Dunbar
d512efa6d2
Add a "Universal Driver" open project, and web page.
...
llvm-svn: 84366
2009-10-17 21:50:11 +00:00
Daniel Dunbar
bf4ca909e0
Add an open project. :)
...
llvm-svn: 84359
2009-10-17 20:43:50 +00:00
Daniel Dunbar
1623c28f36
Fix sentence-o.
...
llvm-svn: 84305
2009-10-17 03:28:37 +00:00
Douglas Gregor
e266cc218a
Our C++ support is far enough along now that we shouldn't be recommending the use of Elsa
...
llvm-svn: 84149
2009-10-14 21:54:48 +00:00
Douglas Gregor
054060c4ec
Give ourselves an A- on ASTs for explicit specializations, since they
...
aren't rich enough to reproduce the source accurately.
llvm-svn: 84012
2009-10-13 19:41:44 +00:00
Douglas Gregor
62e10f0bdc
Diagnose attempts to add default function arguments to a
...
specialization. This completes C++ [temp.expl.spec]!
llvm-svn: 83980
2009-10-13 17:02:54 +00:00
Douglas Gregor
e3afaeb7e4
Minor CSS fix
...
llvm-svn: 83924
2009-10-12 23:15:14 +00:00
Douglas Gregor
0347f40eba
Minor margin fix
...
llvm-svn: 83918
2009-10-12 22:52:00 +00:00
Sebastian Redl
8046049942
This ought to complete exception spec support. Man, am I glad.
...
llvm-svn: 83767
2009-10-11 09:14:57 +00:00
Douglas Gregor
1245e6ff69
Tests for C++ [expr], from James Porter!
...
llvm-svn: 83588
2009-10-08 22:38:14 +00:00
Ted Kremenek
9ece95150e
Updated checker build.
...
llvm-svn: 83408
2009-10-06 20:19:01 +00:00
Benjamin Kramer
d8e06611eb
Fix typo.
...
llvm-svn: 83246
2009-10-02 12:19:16 +00:00
Chris Lattner
b355495660
fix line #'s
...
llvm-svn: 83162
2009-09-30 20:20:06 +00:00
Chris Lattner
859f1b5b86
add some more popular examples, color code warning: and error: like the command line.
...
llvm-svn: 83161
2009-09-30 20:19:10 +00:00
Douglas Gregor
49663d2a23
Update C++ status page
...
llvm-svn: 83157
2009-09-30 18:32:57 +00:00
Ted Kremenek
73583083f7
Update checker build.
...
llvm-svn: 83074
2009-09-29 17:08:03 +00:00
Fariborz Jahanian
774cf79987
Patch for AST representation for the implicit conversion to a function
...
reference/pointer. And a test case for code gen.
llvm-svn: 83000
2009-09-28 18:35:46 +00:00
Cedric Venet
67f09df0db
CMake generate VS2008 project and CLang and LLVM compile without problem on VS2008. Remove obsolete remark
...
llvm-svn: 82895
2009-09-27 10:34:36 +00:00
Ted Kremenek
cdd3be5cc6
Update checker build.
...
llvm-svn: 82854
2009-09-26 07:39:39 +00:00
Chris Lattner
880d2d5788
pcc supports some c99
...
llvm-svn: 82774
2009-09-25 16:45:10 +00:00
Ted Kremenek
1947a7a338
Update checker build.
...
llvm-svn: 82749
2009-09-25 05:03:45 +00:00
Ted Kremenek
ece8524474
Update checker build.
...
llvm-svn: 82518
2009-09-22 03:38:38 +00:00
Fariborz Jahanian
44dfbbb69f
Update for inherited conversion function support.
...
llvm-svn: 81865
2009-09-15 16:15:23 +00:00
Fariborz Jahanian
3df0459149
Status update related to code gen for type conversion
...
functions.
llvm-svn: 81373
2009-09-09 20:00:07 +00:00
Douglas Gregor
d94105a1c2
Don't generate any code for an explicit call to a trivial destructor.
...
Now that parsing, semantic analysis, and (I think) code generation of
pseudo-destructor expressions and explicit destructor calls works,
update the example-dynarray.cpp test to destroy the objects it
allocates and update the test to actually compile + link.
The code seems correct, but the Clang-compiled version dies with a
malloc error. Time to debug!
llvm-svn: 81025
2009-09-04 19:04:08 +00:00
Douglas Gregor
7a0f1105ce
Update C++ status, since a bunch of the comments were out-of-date
...
llvm-svn: 80954
2009-09-03 21:51:43 +00:00
Douglas Gregor
2b6ca46c6b
Improve template instantiation for member access expressions that
...
involve qualified names, e.g., x->Base::f. We now maintain enough
information in the AST to compare the results of the name lookup of
"Base" in the scope of the postfix-expression (determined at template
definition time) and in the type of the object expression.
llvm-svn: 80953
2009-09-03 21:38:09 +00:00
Ted Kremenek
e93b4b8fe1
Update checker build.
...
llvm-svn: 80834
2009-09-02 20:27:08 +00:00
Ted Kremenek
108f2f6aa7
Update checker build.
...
llvm-svn: 80321
2009-08-28 00:30:56 +00:00
Douglas Gregor
73cc2e550d
Tweak the list of open projects for C++
...
llvm-svn: 80179
2009-08-26 23:34:30 +00:00
Ted Kremenek
4b1dae3ba4
Update checker build.
...
llvm-svn: 80054
2009-08-25 23:46:25 +00:00
Ted Kremenek
7656f2b48b
Update checker build.
...
llvm-svn: 80034
2009-08-25 21:14:54 +00:00
Douglas Gregor
b00b10eb2e
Implement support for equality comparisons (!=, ==) of member
...
pointers, by extending the "composite pointer type" logic to include
member pointer types.
Introduce test cases for member pointer comparisons, including those
that involve the builtin operator candidates implemented earlier.
llvm-svn: 79925
2009-08-24 17:42:35 +00:00
Fariborz Jahanian
8ba39c04ae
Updated statuc page to reflect recent implementations
...
of section 12 [special member functions]
llvm-svn: 79704
2009-08-22 00:18:52 +00:00
Douglas Gregor
1d08135537
Update Clang C++ status to better reflect what is implemented.
...
llvm-svn: 79695
2009-08-21 23:27:46 +00:00
Douglas Gregor
05155d8d7b
Implement conversion function templates, along with the ability to use
...
template argument deduction from a conversion function (C++
[temp.deduct.conv]) with implicit conversions.
llvm-svn: 79693
2009-08-21 23:19:43 +00:00
Ted Kremenek
d5eaa05a7f
Center the dragon.
...
llvm-svn: 79580
2009-08-21 00:04:20 +00:00
Ted Kremenek
0370089637
Make the dragon a link...
...
llvm-svn: 79577
2009-08-20 23:49:30 +00:00
Ted Kremenek
7c6b2faea8
Include LLVM logo ... because dragons are cool.
...
llvm-svn: 79576
2009-08-20 23:48:37 +00:00
Ted Kremenek
a298c0ee3c
Update checker build.
...
llvm-svn: 79559
2009-08-20 18:55:46 +00:00
Chris Lattner
f6bad8690f
Improve the Getting Started and Hacking web pages, patch by
...
John Thompson!
llvm-svn: 79518
2009-08-20 06:17:11 +00:00
Ted Kremenek
bc16b4e211
Update/add links to developer meeting.
...
llvm-svn: 79005
2009-08-14 17:11:34 +00:00
Daniel Dunbar
0c4a959b28
s/ccc/clang/
...
llvm-svn: 78320
2009-08-06 16:47:53 +00:00
Anton Korobeynikov
3ebc08b5bd
Add link to LLVM's Getting Started page.
...
Patch by John Thompson!
llvm-svn: 78307
2009-08-06 13:00:08 +00:00
Eli Friedman
0519492cb6
Website updates for working with Visual Studio and making patches.
...
Patch by John Thompson!
llvm-svn: 77988
2009-08-03 19:42:28 +00:00
Douglas Gregor
8a02193931
Update C++ open projects list
...
llvm-svn: 77901
2009-08-02 18:26:21 +00:00
Douglas Gregor
cc17ac0cf2
We have fairly good support for namespaces, now. Namespace aliases are parsed correctly
...
llvm-svn: 77900
2009-08-02 18:22:38 +00:00
Chris Lattner
c8ed0c16fe
linkify IRC
...
llvm-svn: 77880
2009-08-02 05:38:25 +00:00
Chris Lattner
4758281d64
rearrange side bar, add link to IRC info.
...
llvm-svn: 77879
2009-08-02 05:36:37 +00:00
Sebastian Redl
9f831dbbcd
Implement C++ semantics for C-style and functional-style casts. This regresses Clang extension conversions, like vectors, but allows conversions via constructors and conversion operators.
...
Add custom conversions to static_cast.
llvm-svn: 77076
2009-07-25 15:41:38 +00:00
Douglas Gregor
c04e2d9bd6
We now do complete semantic checking for unions
...
llvm-svn: 76918
2009-07-24 00:05:42 +00:00
Douglas Gregor
020e4a9bbb
Update C++ status to reflect progress on out-of-line definitions of class template members
...
llvm-svn: 76917
2009-07-23 23:58:15 +00:00
Ted Kremenek
7c701e7d86
Update cf_returns_retained/ns_returns_retained examples to use __has_feature.
...
llvm-svn: 76130
2009-07-17 00:25:49 +00:00
Chris Lattner
53ea7db5e3
linkify
...
llvm-svn: 75225
2009-07-10 05:07:59 +00:00
Argyrios Kyrtzidis
bff082aec9
Add documentation for the Index library to clang's web page.
...
llvm-svn: 75222
2009-07-10 03:41:36 +00:00
Ted Kremenek
7127801201
Update checker build.
...
llvm-svn: 75147
2009-07-09 17:20:25 +00:00
Douglas Gregor
b257e4fff8
Implement the simple form of overload resolution used when taking the
...
address of an overloaded function (which may involve both functions
and function templates).
llvm-svn: 75069
2009-07-08 23:33:52 +00:00
Douglas Gregor
ed3c80eb75
Update the C++ status table to better reflect our support for function overloading
...
llvm-svn: 74997
2009-07-08 10:03:09 +00:00
Douglas Gregor
197e5f7bb7
Improve argument-dependent lookup to find associated classes and
...
namespaces based on the template arguments of a class template
specialization type.
llvm-svn: 74993
2009-07-08 07:51:57 +00:00
Douglas Gregor
9fc6097145
Template argument deduction from a call has improved a bit
...
llvm-svn: 74966
2009-07-07 23:12:18 +00:00
Ted Kremenek
b1281025f1
Update checker build.
...
llvm-svn: 74849
2009-07-06 19:57:59 +00:00
Ted Kremenek
c17bab0b13
Update checker build.
...
llvm-svn: 74757
2009-07-03 03:26:09 +00:00
Douglas Gregor
0799d916e1
Add a Last Updated field to the C++ status page
...
llvm-svn: 74387
2009-06-27 19:33:58 +00:00
Douglas Gregor
1e880602ad
Make a note of improvements to function templates
...
llvm-svn: 74360
2009-06-27 00:08:54 +00:00
Daniel Dunbar
e5ebf02e0e
Fix bar title in graphs.
...
llvm-svn: 74302
2009-06-26 18:29:52 +00:00
Daniel Dunbar
3ecc92147d
Update performance numbers (missed a link)
...
llvm-svn: 74297
2009-06-26 18:15:47 +00:00
Daniel Dunbar
5b165e4930
Update performance numbers.
...
llvm-svn: 74296
2009-06-26 18:14:41 +00:00
Chris Lattner
6dde0bfef7
oink is dead.
...
llvm-svn: 74263
2009-06-26 04:10:17 +00:00
Anders Carlsson
b7fe2d672a
We now support decltype (as far as I know :)
...
llvm-svn: 74127
2009-06-24 22:10:19 +00:00
Ted Kremenek
6ea5dda489
Fix typo.
...
llvm-svn: 74107
2009-06-24 19:20:24 +00:00
Ted Kremenek
d2ece0703c
Reference the correct image...
...
llvm-svn: 74106
2009-06-24 19:19:18 +00:00
Ted Kremenek
ffd586aa64
Add scan-build screenshot for attribute 'nonnull' example.
...
llvm-svn: 74104
2009-06-24 19:17:54 +00:00
Ted Kremenek
6e7d59f0c6
Fix broken HTML tag.
...
llvm-svn: 74103
2009-06-24 19:12:56 +00:00
Ted Kremenek
b49fe2aff7
Remove reference to using 'clang' directly to analyze projects.
...
llvm-svn: 74102
2009-06-24 19:12:07 +00:00
Ted Kremenek
9f345e1cad
Tighten screenshot.
...
llvm-svn: 74100
2009-06-24 19:08:56 +00:00
Ted Kremenek
550e701cf5
Replace 'clang --analyze' example for attribute cf_returns_retained with screenshots.
...
llvm-svn: 74098
2009-06-24 19:04:37 +00:00
Ted Kremenek
645c54ef11
Replace 'clang --analyze' example (in text) with screenshot from scan-build.
...
llvm-svn: 74095
2009-06-24 18:50:14 +00:00
Anders Carlsson
b50f45f9b2
Nested classes are now complete.
...
llvm-svn: 74052
2009-06-24 02:03:09 +00:00
Anders Carlsson
58b19d5310
class.nested.type is done.
...
llvm-svn: 74034
2009-06-24 00:32:04 +00:00
Ted Kremenek
50d131dea1
Update checker build.
...
llvm-svn: 73518
2009-06-16 17:45:57 +00:00
Douglas Gregor
baafda8394
Tweak the C++ open projects page
...
llvm-svn: 73409
2009-06-15 19:53:21 +00:00
Ted Kremenek
a1cc273ab3
Revert r73341.
...
llvm-svn: 73393
2009-06-15 17:23:35 +00:00
Douglas Gregor
ac1798a859
Note that we've implemented the right angle brackets extension in C++0x
...
llvm-svn: 73389
2009-06-15 16:50:45 +00:00
Zhongxing Xu
a2937bc3cb
'not magic' => 'is not magic'
...
llvm-svn: 73386
2009-06-15 13:22:32 +00:00
Nuno Lopes
52c17e7201
fix the menu's links
...
llvm-svn: 73341
2009-06-14 09:40:09 +00:00
Douglas Gregor
33834516f3
Update LLVM.
...
Implement support for C++ Substitution Failure Is Not An Error
(SFINAE), which says that errors that occur during template argument
deduction do *not* produce diagnostics and do not necessarily make a
program ill-formed. Instead, template argument deduction silently
fails. This is currently implemented for template argument deduction
during matching of class template partial specializations, although
the mechanism will also apply to template argument deduction for
function templates. The scheme is simple:
- If we are in a template argument deduction context, any diagnostic
that is considered a SFINAE error (or warning) will be
suppressed. The error will be propagated up the call stack via the
normal means.
- By default, all warnings and errors are SFINAE errors. Add the
NoSFINAE class to a diagnostic in the .td file to make it a hard
error (e.g., for access-control violations).
Note that, to make this fully work, every place in Sema that emits an
error *and then immediately recovers* will need to check
Sema::isSFINAEContext() to determine whether it must immediately
return an error rather than recovering.
llvm-svn: 73332
2009-06-14 07:33:30 +00:00
Douglas Gregor
170bc42547
It looks like we've finished off matching of class template partial specializations; add comments and update the C++ status page
...
llvm-svn: 73263
2009-06-12 22:31:52 +00:00
Douglas Gregor
30b0197169
Finish implementing checking of class template partial specializations
...
llvm-svn: 73260
2009-06-12 22:21:45 +00:00
Douglas Gregor
09a3023e65
Diagnose C++ [temp.class.spec]p9b3, where a class template partial
...
specialization's arguments are identical to the implicit template
arguments of the primary template. Typically, this is meant to be a
declaration/definition of the primary template, so we give that
advice.
llvm-svn: 73259
2009-06-12 22:08:06 +00:00
Douglas Gregor
dc41eb18e9
Update the C++ status to reflect improvements in template argument deduction and the handling of class template partial specializations
...
llvm-svn: 73242
2009-06-12 19:15:38 +00:00
Douglas Gregor
873495ad98
Point to the clang driver, not the ccc driver
...
llvm-svn: 73192
2009-06-11 14:59:18 +00:00
Douglas Gregor
f0ca0a684d
Add pseudo-destructors to the Open Projects list
...
llvm-svn: 73191
2009-06-11 14:55:39 +00:00
Douglas Gregor
3afbdbd8b4
Prune some projects that have already been started
...
llvm-svn: 73190
2009-06-11 14:53:37 +00:00
Ted Kremenek
e6d3ae9d99
Add redirects to new static analysis web site.
...
llvm-svn: 73120
2009-06-09 02:17:37 +00:00
Ted Kremenek
0da03ed2ae
Update static analyzer link to new website.
...
llvm-svn: 73119
2009-06-09 01:37:34 +00:00
Ted Kremenek
0a7a2c45a4
Comment out preliminary text due to wishful thinking of getting more documentation done by this point.
...
llvm-svn: 73118
2009-06-09 01:32:41 +00:00
Ted Kremenek
f588f6b8ca
Last menu color tweaking (for now).
...
llvm-svn: 73117
2009-06-09 01:31:18 +00:00
Ted Kremenek
cd698b2cc9
More color tweaking.
...
llvm-svn: 73116
2009-06-09 01:28:57 +00:00
Ted Kremenek
66a34398d0
Update menu colors.
...
llvm-svn: 73115
2009-06-09 01:28:04 +00:00
Ted Kremenek
15636b43b0
Update menu color.
...
llvm-svn: 73114
2009-06-09 01:26:30 +00:00
Ted Kremenek
642171d5f2
Update checker build file (accidentally used old one).
...
llvm-svn: 73113
2009-06-09 01:25:03 +00:00
Ted Kremenek
681d7ebc99
Fix link.
...
llvm-svn: 73112
2009-06-09 01:24:15 +00:00
Ted Kremenek
f9f689b3ab
Add skeleton files for new analyzer site.
...
llvm-svn: 73086
2009-06-08 21:21:24 +00:00
Ted Kremenek
800c20f11a
Update checker build.
...
llvm-svn: 73001
2009-06-06 17:44:12 +00:00
Daniel Dunbar
5773c600ad
Put "Language Extensions" and "C++ status" in the regular info section.
...
llvm-svn: 72879
2009-06-04 18:39:08 +00:00
Daniel Dunbar
15b86228cf
Mention unsupported GCC duplicate-definition-with-inline extension.
...
Also, link users manual from the main web page.
llvm-svn: 72878
2009-06-04 18:37:52 +00:00
Daniel Dunbar
91b418ea3c
Another tweak to the clang Getting Started page.
...
llvm-svn: 72355
2009-05-24 01:40:10 +00:00
Daniel Dunbar
b402d5c32d
Minor updates to the clang Getting Started page.
...
llvm-svn: 72354
2009-05-24 01:00:12 +00:00
Ted Kremenek
59328da69f
Update checker build.
...
llvm-svn: 72084
2009-05-19 00:48:25 +00:00
Ted Kremenek
f0d3237474
Update checker build.
...
llvm-svn: 71929
2009-05-16 06:05:27 +00:00
Ted Kremenek
926dffce01
Update checker build.
...
llvm-svn: 71900
2009-05-15 21:56:27 +00:00
Ted Kremenek
a3d4d7b4fa
Update checker build.
...
llvm-svn: 71874
2009-05-15 18:40:51 +00:00
Ted Kremenek
2aab87f393
Update checker build.
...
llvm-svn: 71846
2009-05-15 05:59:34 +00:00
Ted Kremenek
2b77677322
Update checker build.
...
llvm-svn: 71716
2009-05-13 20:49:00 +00:00
Douglas Gregor
a1f4997368
Semantic analysis for explicit instantiation of class templates. We
...
still aren't instantiating the definitions of class template members,
and core issues 275 and 259 will both affect the checking that we do
for explicit instantiations (but are not yet implemented).
llvm-svn: 71613
2009-05-13 00:25:59 +00:00
Douglas Gregor
1b57ff32a8
Implement parsing for explicit instantiations of class templates, e.g.,
...
template class X<int>;
This also cleans up the propagation of template information through
declaration parsing, which is used to improve some diagnostics.
llvm-svn: 71608
2009-05-12 23:25:50 +00:00
Ted Kremenek
14fbc56a09
Update checker build.
...
llvm-svn: 71605
2009-05-12 22:44:02 +00:00
Douglas Gregor
9e0d21a444
Align the N/A in the C++ status table, from Anders Johnsen
...
llvm-svn: 71576
2009-05-12 18:36:58 +00:00
Douglas Gregor
5a4d12afbf
Fill in more C++ status. We're now using the check mark to mean,
...
"complete, and we have tests for every paragraph".
llvm-svn: 71564
2009-05-12 17:55:28 +00:00
Ted Kremenek
df5a6b6070
Update checker build.
...
llvm-svn: 71523
2009-05-12 00:45:33 +00:00
Ted Kremenek
3a4360c728
Update checker build.
...
llvm-svn: 71463
2009-05-11 19:02:11 +00:00
Ted Kremenek
f16992866a
Update checker build.
...
llvm-svn: 71435
2009-05-11 16:31:31 +00:00
Sebastian Redl
9257b234a5
Update minor points in C++ status table.
...
llvm-svn: 71406
2009-05-10 20:06:11 +00:00
Sebastian Redl
576fd424df
Implement C++0x nullptr.
...
llvm-svn: 71405
2009-05-10 18:38:11 +00:00
Ted Kremenek
9a627e60cd
Update checker build.
...
llvm-svn: 71404
2009-05-10 17:41:29 +00:00
Ted Kremenek
9dc1bed4a6
Update checker build.
...
llvm-svn: 71387
2009-05-10 05:54:23 +00:00
Ted Kremenek
1e0d6a5957
Update checker build.
...
llvm-svn: 71375
2009-05-10 02:22:16 +00:00
Ted Kremenek
6631d7c4be
Roll back to checker build 0.195.
...
llvm-svn: 71348
2009-05-09 07:05:44 +00:00
Douglas Gregor
1bbffbceae
Big update to the C++ status table to reflect "recent"
...
development. Still much more to write!
llvm-svn: 71167
2009-05-07 17:50:16 +00:00
Ted Kremenek
83ffab06ef
Update checker build.
...
llvm-svn: 71112
2009-05-06 20:13:50 +00:00
Ted Kremenek
82f7cfa156
Update checker build.
...
llvm-svn: 71046
2009-05-06 00:14:14 +00:00
Ted Kremenek
09356a83c4
Update checker build.
...
llvm-svn: 70961
2009-05-05 03:56:29 +00:00
Ted Kremenek
66f8fe18ef
Update checker build.
...
llvm-svn: 70858
2009-05-04 14:24:29 +00:00
Daniel Dunbar
032dc63cd4
Nightly test coverage reporting is back online.
...
llvm-svn: 70814
2009-05-03 23:46:18 +00:00
Ted Kremenek
f520136939
Update checker build.
...
llvm-svn: 70615
2009-05-02 00:42:33 +00:00
Chris Lattner
2ab6983e41
C/ObjC work well enough with clang for them not to be a gcc strength anymore.
...
llvm-svn: 70528
2009-05-01 01:42:13 +00:00
Chris Lattner
0936387c46
add word
...
llvm-svn: 70527
2009-05-01 01:40:42 +00:00
Chris Lattner
0cfae87d80
C/ObjC work well enough to claim support for them now.
...
llvm-svn: 70526
2009-05-01 01:40:17 +00:00
Ted Kremenek
10e21109d7
Update checker build.
...
llvm-svn: 70489
2009-04-30 15:15:37 +00:00
Sebastian Redl
2b9cacbffa
Have the parser communicate the exception specification to the action.
...
llvm-svn: 70389
2009-04-29 17:30:04 +00:00
Ted Kremenek
ed70968484
Update analyzer build.
...
llvm-svn: 70295
2009-04-28 14:32:50 +00:00
Sebastian Redl
4c018663b2
Track down return statements in the handlers of a function-try-block of constructors. Meh ...
...
llvm-svn: 70256
2009-04-27 21:33:24 +00:00
Sebastian Redl
4de47b445b
Improve validation of C++ exception handling: diagnose throwing incomplete types and jumps into protected try-catch scopes.
...
llvm-svn: 70242
2009-04-27 20:27:31 +00:00
Sebastian Redl
21b349d5ea
Fill in the C++ status table for exceptions
...
llvm-svn: 70217
2009-04-27 18:25:15 +00:00
Ted Kremenek
b62db80c83
Updated checker build.
...
llvm-svn: 70065
2009-04-25 19:12:36 +00:00
Ted Kremenek
9099126795
Update checker build.
...
llvm-svn: 69940
2009-04-23 23:42:21 +00:00
Ted Kremenek
9dae596dc1
Update checker build.
...
llvm-svn: 69776
2009-04-22 05:13:56 +00:00
Sebastian Redl
8ce189f9ce
Conditional operator C++ checking complete. What issues remain are in more general code.
...
llvm-svn: 69555
2009-04-19 21:53:20 +00:00
Sebastian Redl
d1309a3c4d
Add deleted functions and rvalue references to C++ status.
...
llvm-svn: 68903
2009-04-12 17:41:24 +00:00
Ted Kremenek
be4fe9e239
Update analyzer build.
...
llvm-svn: 68860
2009-04-11 04:57:08 +00:00
Ted Kremenek
7318290ab9
Fix typo.
...
llvm-svn: 68782
2009-04-10 14:30:24 +00:00
Ted Kremenek
cda32a1e0c
Update analyzer build.
...
llvm-svn: 68781
2009-04-10 14:29:25 +00:00
Ted Kremenek
8cdc351ed3
Update analyzer build.
...
llvm-svn: 68707
2009-04-09 14:06:37 +00:00
Ted Kremenek
c4631b2809
Update checker build.
...
llvm-svn: 68516
2009-04-07 14:26:58 +00:00
Ted Kremenek
b594fa1289
Fix grammar.
...
llvm-svn: 68331
2009-04-02 18:20:13 +00:00
Ted Kremenek
01cccbfb03
Update checker build.
...
llvm-svn: 68302
2009-04-02 06:33:06 +00:00
Douglas Gregor
60f3c95926
Add some examples of Fix-it hints to our documentation
...
llvm-svn: 68210
2009-04-01 16:24:40 +00:00
Douglas Gregor
2e0757f319
Give Type::getDesugaredType a "for-display" mode that can apply more
...
heuristics to determine when it's useful to desugar a type for display
to the user. Introduce two C++-specific heuristics:
- For a qualified type (like "foo::bar"), only produce a new
desugred type if desugaring the qualified type ("bar", in this
case) produces something interesting. For example, if "foo::bar"
refers to a class named "bar", don't desugar. However, if
"foo::bar" refers to a typedef of something else, desugar to that
something else. This gives some useful desugaring such as
"foo::bar (aka 'int')".
- Don't desugar class template specialization types like
"basic_string<char>" down to their underlying "class
basic_string<char, char_traits<char>, allocator<char>>, etc.";
it's better just to leave such types alone.
Update diagnostics.html with some discussion and examples of type
preservation in C++, showing qualified names and class template
specialization types.
llvm-svn: 68207
2009-04-01 15:47:24 +00:00
Anders Carlsson
452e1c8a6a
We fully support namespace aliases now.
...
llvm-svn: 68116
2009-03-31 17:17:14 +00:00
Ted Kremenek
42361b3eb5
Update checker build.
...
llvm-svn: 67976
2009-03-29 00:43:39 +00:00
Ted Kremenek
b3e8f6531d
Update "Getting Started" with more current information about 'clang-cc' and 'clang'.
...
llvm-svn: 67850
2009-03-27 16:32:57 +00:00
Douglas Gregor
0caea8cca7
Add another C++ open project
...
llvm-svn: 67620
2009-03-24 16:16:53 +00:00
Anders Carlsson
b0ab31b7f6
Remove a task that's completed now.
...
llvm-svn: 67596
2009-03-24 01:25:56 +00:00
Anders Carlsson
b6da73f2e0
class.abstract is complete. Anything that doesn't work is a bug.
...
llvm-svn: 67595
2009-03-24 01:24:06 +00:00
Ted Kremenek
74250d1d68
Update checker build.
...
llvm-svn: 67584
2009-03-24 00:35:59 +00:00
Ted Kremenek
673a4eef07
Update checker build.
...
llvm-svn: 67553
2009-03-23 19:53:30 +00:00
Ted Kremenek
43e2deee22
Update checker build.
...
llvm-svn: 67498
2009-03-23 02:00:36 +00:00
Douglas Gregor
2460c0c37c
Link from the C++ status page to the open projects page
...
llvm-svn: 67399
2009-03-20 20:39:57 +00:00
Douglas Gregor
7262d1c003
Document some small- to mid-size open C++ projects
...
llvm-svn: 67398
2009-03-20 20:37:36 +00:00
Chris Lattner
308fdf6ee9
wording.
...
llvm-svn: 67337
2009-03-19 22:03:42 +00:00
Chris Lattner
8fda6749aa
add link to new page
...
llvm-svn: 67324
2009-03-19 18:58:22 +00:00
Chris Lattner
3d26bc8fdf
link to diags page.
...
llvm-svn: 67323
2009-03-19 18:57:33 +00:00
Chris Lattner
2302ee59e1
move most of the diags info out to its own file.
...
llvm-svn: 67321
2009-03-19 18:56:04 +00:00
Chris Lattner
136d84dbeb
split diagnostics examples out to its own file.
...
llvm-svn: 67318
2009-03-19 18:52:17 +00:00
Chris Lattner
480bb91b18
add a note
...
llvm-svn: 67290
2009-03-19 07:06:44 +00:00
Chris Lattner
2b7dbf4d0a
update our bragging about diagnostics. :)
...
llvm-svn: 67289
2009-03-19 06:52:51 +00:00
Ted Kremenek
bb93b788b7
Update checker build
...
llvm-svn: 67279
2009-03-19 01:51:49 +00:00
Ted Kremenek
b7e6aea63e
Update checker build.
...
llvm-svn: 67266
2009-03-19 00:20:07 +00:00
Anders Carlsson
bd1a1d2fa6
We support static_assert.
...
llvm-svn: 67043
2009-03-16 17:28:26 +00:00
Ted Kremenek
fcf7348f80
Update checker build.
...
llvm-svn: 66999
2009-03-14 00:46:46 +00:00
Ted Kremenek
80caa92255
Update checker build.
...
llvm-svn: 66926
2009-03-13 18:48:36 +00:00
Douglas Gregor
201217324a
Split get_involved into Get Involved and Open Projects pages
...
llvm-svn: 66891
2009-03-13 15:06:27 +00:00
Ted Kremenek
4d4d2277a9
Update checker build.
...
llvm-svn: 66855
2009-03-13 00:43:31 +00:00
Douglas Gregor
83e9e91479
Note some advances in our C++ support
...
llvm-svn: 66742
2009-03-12 00:09:31 +00:00
Ted Kremenek
4bb994a319
Update checker build.
...
llvm-svn: 66643
2009-03-11 06:11:39 +00:00
Chris Lattner
5013d3a893
update this, C headers don't need hacks anymore.
...
llvm-svn: 66544
2009-03-10 16:01:44 +00:00
Ted Kremenek
07393e0546
Update analyzer build.
...
llvm-svn: 66538
2009-03-10 07:03:32 +00:00
Ted Kremenek
623d2a3ce4
Update checker build.
...
llvm-svn: 66507
2009-03-09 23:45:57 +00:00
Ted Kremenek
62d9de7cae
Update checker build.
...
llvm-svn: 66226
2009-03-06 00:53:59 +00:00
Ted Kremenek
1d09f6a221
Update checker build.
...
llvm-svn: 66152
2009-03-05 07:55:15 +00:00
Daniel Dunbar
817b7692fb
Add new performance numbers; no discussion yet. Obvious two
...
conclusions are our PCH generation is way faster than gcc, and the
Python based driver kills compile times.
llvm-svn: 65980
2009-03-04 00:04:28 +00:00
Ted Kremenek
d62491a808
Update checker build.
...
llvm-svn: 65916
2009-03-03 01:44:57 +00:00
Ted Kremenek
8a56e5c29b
Update checker build.
...
llvm-svn: 65676
2009-02-28 02:04:49 +00:00
Ted Kremenek
918ae24edd
Update checker build.
...
llvm-svn: 65625
2009-02-27 07:16:04 +00:00
Gabor Greif
dd4ddf13a6
fix (hopefully) some validation errors
...
llvm-svn: 65455
2009-02-25 15:22:45 +00:00
Gabor Greif
267e01cb28
minor tweaks to readability
...
llvm-svn: 65440
2009-02-25 09:45:40 +00:00
Chris Lattner
d79eb11e22
update
...
llvm-svn: 65433
2009-02-25 05:43:33 +00:00
Chris Lattner
014d2ad55f
Headers are basically done, debug info is just about done (and
...
will improve a lot this week hopefully), and a libgcc replacement
is ready once I wrangle lawyers.
llvm-svn: 65432
2009-02-25 05:39:01 +00:00
Chris Lattner
a004a1846b
clang seems "generally useful" for c and objc by now, though obviously bugs
...
still remain.
llvm-svn: 65431
2009-02-25 05:35:47 +00:00
Ted Kremenek
7a164114f6
Update checker build.
...
llvm-svn: 65421
2009-02-25 00:54:41 +00:00
Ted Kremenek
80049e0b6f
Updated checker build.
...
llvm-svn: 65350
2009-02-23 23:37:29 +00:00
Ted Kremenek
cd25abed46
Update to checker-0.162 (fixed header issue in tar.bz2 package).
...
llvm-svn: 65283
2009-02-22 08:50:06 +00:00
Ted Kremenek
589aa282dd
Reverted back to checker-0.161 because of a header issue.
...
llvm-svn: 65281
2009-02-22 08:42:49 +00:00
Ted Kremenek
1f19573c84
Updated checker build.
...
llvm-svn: 65280
2009-02-22 08:38:12 +00:00
Ted Kremenek
bc7d915c4c
Update checker build.
...
llvm-svn: 65227
2009-02-21 06:58:08 +00:00
Ted Kremenek
193cbdcbe3
Update checker build.
...
llvm-svn: 65054
2009-02-19 19:08:21 +00:00
Ted Kremenek
1d1d39757a
Update checker build.
...
llvm-svn: 65033
2009-02-19 07:22:21 +00:00
Ted Kremenek
aa61951171
Fix comment: analyzer builds are universal binaries.
...
llvm-svn: 64950
2009-02-18 21:24:14 +00:00
Ted Kremenek
a16c98b97d
Update checker build.
...
llvm-svn: 64879
2009-02-18 03:09:29 +00:00
Ted Kremenek
386e590239
Update checker build.
...
llvm-svn: 64753
2009-02-17 07:47:57 +00:00
Cedric Venet
08438133da
Add svn:eol-style=native to some files
...
Correct two files with inconsistent lines endings.
llvm-svn: 64564
2009-02-14 20:20:19 +00:00
Ted Kremenek
10251c91a8
Update checker build.
...
llvm-svn: 64507
2009-02-13 23:41:12 +00:00
Ted Kremenek
0ae9df8377
Update checker build.
...
llvm-svn: 64365
2009-02-12 07:09:27 +00:00
Ted Kremenek
345749aff4
Update checker build.
...
llvm-svn: 64297
2009-02-11 07:50:23 +00:00
Ted Kremenek
f83882987e
Updated checker build.
...
llvm-svn: 64208
2009-02-10 07:38:50 +00:00
Ted Kremenek
a446e95891
Update checker build.
...
llvm-svn: 64190
2009-02-10 00:53:39 +00:00
Chris Lattner
10c16ca0b9
spell out explicitly
...
llvm-svn: 64129
2009-02-09 08:47:44 +00:00
Chris Lattner
f5e9242dd4
add doc
...
llvm-svn: 64128
2009-02-09 08:47:17 +00:00
Chris Lattner
cd2b504d5f
add another crazy idea :)
...
llvm-svn: 64092
2009-02-08 20:41:34 +00:00
Ted Kremenek
beb1ce6504
Updated checker build.
...
llvm-svn: 64071
2009-02-08 05:05:02 +00:00
Sebastian Redl
f3b5e27fee
Make const-initialized const integral variables I-C-Es in C++.
...
llvm-svn: 64015
2009-02-07 13:06:23 +00:00
Sebastian Redl
779dd9382d
Fill in C++ status table for section 7 (declarations).
...
llvm-svn: 64013
2009-02-07 12:42:13 +00:00
Sebastian Redl
112a976616
Implement dereferencing of pointers-to-member.
...
llvm-svn: 63983
2009-02-07 00:15:38 +00:00
Ted Kremenek
686a09d7b8
Updated checker build.
...
llvm-svn: 63897
2009-02-05 23:19:12 +00:00
Ted Kremenek
cc41c07227
Update checker build.
...
llvm-svn: 63869
2009-02-05 15:48:51 +00:00