diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-13 02:22:01 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-13 02:22:01 +0000 |
commit | bcbed8b11f98a6408166fb76d3c6a697440cb342 (patch) | |
tree | fae6d361b727818964456f942161bf3a7962e171 /www | |
parent | 7ffcc43205ee7b6a91c8e088c910b6c9b80abe17 (diff) |
Implement DR1265 (wg21.link/cwg1265).
Diasllow a declaration using the 'auto' type specifier from using two different
meanings of it at once, or from declaring multiple functions with deduced
return types or introducing multiple trailing return types.
The standard does not technically disallow the multiple trailing return types
case if all the declarators declare variables (such as function pointers with
trailing return types), but we disallow that too, following the clear intent.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/cxx_dr_status.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/cxx_dr_status.html b/www/cxx_dr_status.html index a0781458a8..ffc0765124 100644 --- a/www/cxx_dr_status.html +++ b/www/cxx_dr_status.html @@ -7405,7 +7405,7 @@ and <I>POD class</I></td> <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1265">1265</a></td> <td>CD3</td> <td>Mixed use of the <TT>auto</TT> specifier</td> - <td class="none" align="center">Unknown</td> + <td class="svn" align="center">SVN</td> </tr> <tr class="open" id="1266"> <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1266">1266</a></td> @@ -7897,7 +7897,7 @@ and <I>POD class</I></td> <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1347">1347</a></td> <td>CD3</td> <td>Consistency of <TT>auto</TT> in multiple-declarator declarations</td> - <td class="none" align="center">Unknown</td> + <td class="full" align="center">Yes</td> </tr> <tr class="open" id="1348"> <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1348">1348</a></td> |