summaryrefslogtreecommitdiffstats
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-08 09:46:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-08 13:28:16 +0100
commitab9b67bbb001f380b3973941443bfbc59fe7141c (patch)
tree4737847b2970d2310932f115935a9454aacff6fe /compilerplugins
parentcrashtesting: doubly deleted reloadtimer (diff)
downloadcore-ab9b67bbb001f380b3973941443bfbc59fe7141c.tar.gz
core-ab9b67bbb001f380b3973941443bfbc59fe7141c.zip
Remove obsolete SAL_FALLTHROUGH completely
...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b "HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now" Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937 Reviewed-on: https://gerrit.libreoffice.org/64800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/test/dodgyswitch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/dodgyswitch.cxx b/compilerplugins/clang/test/dodgyswitch.cxx
index 3a61ed388c2b..826971d27811 100644
--- a/compilerplugins/clang/test/dodgyswitch.cxx
+++ b/compilerplugins/clang/test/dodgyswitch.cxx
@@ -16,7 +16,7 @@ int main() {
{
case 1: { break; }
case 2: {
- SAL_FALLTHROUGH;
+ [[fallthrough]];
{
case 3: // expected-error {{case statement not directly under switch [loplugin:dodgyswitch]}}
break;