Commit Graph

745 Commits

Author SHA1 Message Date
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