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

12 Коммитов

Автор SHA1 Сообщение Дата
Douglas Gregor c41b6ff51b New language-compatibility page, including language-compatibility information for the various language dialects Clang supports in a single, easy-to-find page
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107325 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-30 22:01:08 +00:00
John McCall 50163009b1 Rework the unqualified-lookup-in-templates section of the compatibility
document.  jyasskin, let me know if this meets your needs.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106098 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-16 10:48:16 +00:00
John McCall d45c93c92e Some more nods to HTML well-formedness.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106094 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-16 08:48:08 +00:00
Jeffrey Yasskin f44ea727c0 Fix template ordering compatibility docs. I missed another section that covered
the same thing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106076 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-16 01:12:12 +00:00
Jeffrey Yasskin 1390c3d43d 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106068 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-15 23:50:08 +00:00
John McCall 4a40a2f820 Add a compatibility note about incomplete types in templates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105309 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-02 01:26:32 +00:00
Douglas Gregor a481ec4150 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).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104471 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-23 19:57:01 +00:00
Douglas Gregor 0fddb97901 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>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104443 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-22 16:17:30 +00:00
John McCall 5dd52ac75e Add a note to the C++ compatibility page about templates with no
valid instantiations.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100836 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-09 01:07:07 +00:00
John McCall 489722fb5c Add another compatibility note and tweak a few of the existing ones.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98717 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-17 07:10:56 +00:00
Chandler Carruth 6243e335f4 Fix a typo in a tag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98713 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-17 05:46:21 +00:00
Rafael Espindola 9b2fc9563f Document common clang compatibility issues.
Patch by Zhanyong Wan.




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98708 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-17 04:31:53 +00:00