Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / compilerplugins / clang / test / redundantcast.hxx
blob0afab0c2dc07bf937b418c976e662656718407f5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 struct S
14 void f1();
15 void f2() const;
16 void f3();
17 void f3() const;
20 int&& nix();
21 int const&& cix();
22 int nir();
23 #pragma clang diagnostic push
24 #pragma clang diagnostic ignored "-Wignored-qualifiers"
25 int const cir();
26 #pragma clang diagnostic pop
28 S&& nsx();
29 S const&& csx();
30 S nsr();
31 S const csr();
33 void testArithmeticTypedefs();
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */