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

503 Коммитов

Автор SHA1 Сообщение Дата
Ted Kremenek 1ac134b301 Update/add links to developer meeting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79005 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-14 17:11:34 +00:00
Daniel Dunbar 12e57bca92 s/ccc/clang/
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78320 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-06 16:47:53 +00:00
Anton Korobeynikov 1816e48427 Add link to LLVM's Getting Started page.
Patch by John Thompson!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78307 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-06 13:00:08 +00:00
Eli Friedman d1e1ef3b0a Website updates for working with Visual Studio and making patches.
Patch by John Thompson!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77988 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-03 19:42:28 +00:00
Douglas Gregor b4aa94d2a0 Update C++ open projects list
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77901 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 18:26:21 +00:00
Douglas Gregor 1e185d9737 We have fairly good support for namespaces, now. Namespace aliases are parsed correctly
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77900 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 18:22:38 +00:00
Chris Lattner 45f8091470 linkify IRC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77880 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 05:38:25 +00:00
Chris Lattner e1e585fbf8 rearrange side bar, add link to IRC info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77879 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 05:36:37 +00:00
Sebastian Redl 9cc11e7003 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77076 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-25 15:41:38 +00:00
Douglas Gregor 9c09b886c0 We now do complete semantic checking for unions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76918 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-24 00:05:42 +00:00
Douglas Gregor 75b451eb31 Update C++ status to reflect progress on out-of-line definitions of class template members
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76917 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-23 23:58:15 +00:00
Ted Kremenek 21375a3cd5 Update cf_returns_retained/ns_returns_retained examples to use __has_feature.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76130 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-17 00:25:49 +00:00
Chris Lattner 909a883fbc linkify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75225 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-10 05:07:59 +00:00
Argyrios Kyrtzidis 7240d77c96 Add documentation for the Index library to clang's web page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-10 03:41:36 +00:00
Ted Kremenek 08cc16d185 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75147 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-09 17:20:25 +00:00
Douglas Gregor 00aeb52314 Implement the simple form of overload resolution used when taking the
address of an overloaded function (which may involve both functions
and function templates). 


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75069 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-08 23:33:52 +00:00
Douglas Gregor 4668509630 Update the C++ status table to better reflect our support for function overloading
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74997 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-08 10:03:09 +00:00
Douglas Gregor 69be8d60de Improve argument-dependent lookup to find associated classes and
namespaces based on the template arguments of a class template
specialization type.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74993 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-08 07:51:57 +00:00
Douglas Gregor 8fdc3c49e3 Template argument deduction from a call has improved a bit
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74966 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-07 23:12:18 +00:00
Ted Kremenek 613410407c Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74849 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-06 19:57:59 +00:00
Ted Kremenek 600437f7c8 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74757 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-03 03:26:09 +00:00
Douglas Gregor 4c9b68f70e Add a Last Updated field to the C++ status page
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74387 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-27 19:33:58 +00:00
Douglas Gregor b10d2fbe98 Make a note of improvements to function templates
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74360 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-27 00:08:54 +00:00
Daniel Dunbar 4d1034f6bb Fix bar title in graphs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74302 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-26 18:29:52 +00:00
Daniel Dunbar 13e1c9d5be Update performance numbers (missed a link)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74297 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-26 18:15:47 +00:00
Daniel Dunbar 9d284e531d Update performance numbers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74296 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-26 18:14:41 +00:00
Chris Lattner b76c2322bf oink is dead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74263 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-26 04:10:17 +00:00
Anders Carlsson 3eb43a0f62 We now support decltype (as far as I know :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74127 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 22:10:19 +00:00
Ted Kremenek 5ceab86209 Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74107 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:20:24 +00:00
Ted Kremenek 5303644db4 Reference the correct image...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74106 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:19:18 +00:00
Ted Kremenek 42291ddced Add scan-build screenshot for attribute 'nonnull' example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74104 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:17:54 +00:00
Ted Kremenek 75527194d9 Fix broken HTML tag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74103 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:12:56 +00:00
Ted Kremenek c415901e14 Remove reference to using 'clang' directly to analyze projects.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74102 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:12:07 +00:00
Ted Kremenek 1a9887eb53 Tighten screenshot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74100 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:08:56 +00:00
Ted Kremenek 6fe1ef2bbb Replace 'clang --analyze' example for attribute cf_returns_retained with screenshots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74098 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:04:37 +00:00
Ted Kremenek 7d277e25e0 Replace 'clang --analyze' example (in text) with screenshot from scan-build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74095 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 18:50:14 +00:00
Anders Carlsson e6510f1945 Nested classes are now complete.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74052 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 02:03:09 +00:00
Anders Carlsson 43f24e05ce class.nested.type is done.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74034 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 00:32:04 +00:00
Ted Kremenek 0964e67253 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73518 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 17:45:57 +00:00
Douglas Gregor 742f2cd953 Tweak the C++ open projects page
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73409 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 19:53:21 +00:00
Ted Kremenek 37ad3d4e8b Revert r73341.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73393 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 17:23:35 +00:00
Douglas Gregor 7420c2dee7 Note that we've implemented the right angle brackets extension in C++0x
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73389 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 16:50:45 +00:00
Zhongxing Xu 0c3a16d5da 'not magic' => 'is not magic'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73386 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 13:22:32 +00:00
Nuno Lopes 557e81180d fix the menu's links
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73341 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-14 09:40:09 +00:00
Douglas Gregor 5e9f35c7cb 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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73332 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-14 07:33:30 +00:00
Douglas Gregor c1efb3faef It looks like we've finished off matching of class template partial specializations; add comments and update the C++ status page
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73263 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 22:31:52 +00:00
Douglas Gregor 16df850bb7 Finish implementing checking of class template partial specializations
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73260 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 22:21:45 +00:00
Douglas Gregor 6aa75cfbdd 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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73259 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 22:08:06 +00:00
Douglas Gregor 7e8976b22e Update the C++ status to reflect improvements in template argument deduction and the handling of class template partial specializations
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73242 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 19:15:38 +00:00
Douglas Gregor 01cd4fb825 Point to the clang driver, not the ccc driver
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73192 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-11 14:59:18 +00:00