diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-03-08 00:32:55 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-03-08 00:32:55 +0000 |
commit | 14b538d62de9e8d256c8457c7580d6d9e0ba16f7 (patch) | |
tree | 10f30ff3c9c9e65510a8ca0d90ac328001efd845 /www | |
parent | 3827f56644bb23fb687e722860b61e59641adedb (diff) |
P0188R1: add support for standard [[fallthrough]] attribute. This is almost
exactly the same as clang's existing [[clang::fallthrough]] attribute, which
has been updated to have the same semantics. The one significant difference
is that [[fallthrough]] is ill-formed if it's not used immediately before a
switch label (even when -Wimplicit-fallthrough is disabled). To support that,
we now build a CFG of any function that uses a '[[fallthrough]];' statement
to check.
In passing, fix some bugs with our support for statement attributes -- in
particular, diagnose their use on declarations, rather than asserting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/cxx_status.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/cxx_status.html b/www/cxx_status.html index 5027ae8174..5674bff89a 100644 --- a/www/cxx_status.html +++ b/www/cxx_status.html @@ -629,7 +629,7 @@ as the draft C++1z standard evolves.</p> <tr> <td><tt>[[fallthrough]]</tt> attribute</td> <td><a href="http://wg21.link/p0188r1">P0188R1</a></td> - <td class="none" align="center">No</td> + <td class="full" align="center">SVN</td> </tr> <tr> <td><tt>[[nodiscard]]</tt> attribute</td> |