summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/redundantinline.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-25 10:47:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-25 16:21:04 +0000
commit5d8e6901ec14edd9da10d9dee63b2ef2ab058692 (patch)
tree4f4ba52e1a1e14a03ffa1164366121fe82b87f8c /compilerplugins/clang/test/redundantinline.cxx
parent7668d4e616dd37d3b335c43db897b64a7349047b (diff)
Add loplugin:redundantinline
...after it had recently been run with 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d "Remove redundant 'inline' keyword" Change-Id: I7f3ee2ff1c32988dcff7245c64b50fe20b0a5e79 Reviewed-on: https://gerrit.libreoffice.org/35681 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/test/redundantinline.cxx')
-rw-r--r--compilerplugins/clang/test/redundantinline.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/redundantinline.cxx b/compilerplugins/clang/test/redundantinline.cxx
new file mode 100644
index 000000000000..038a1497d98e
--- /dev/null
+++ b/compilerplugins/clang/test/redundantinline.cxx
@@ -0,0 +1,14 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "redundantinline.hxx"
+
+S1::~S1() = default;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */