☰
Debian Codegraph
@
1.17.1-1
/
/
tests
/
range-loop-detach
/
main_cpp17.cpp.fixed.expected
☽
☼
tests/range-loop-detach/main_cpp17.cpp.fixed.expected
code
plain
raw
LGPL-2+
2015-2020 Sergio Martins <
[email protected]
>; 2015, 2016, 2019-2020 Klarälvdalens Datakonsult AB, a KDAB Group company,
[email protected]
; 2015 Nyall Dawson <
[email protected]
>; 2015 Mathias Hasselmann <
[email protected]
>; 2015 Albert Astals Cid <
[email protected]
>; 2019 Christian Gagneraud <
[email protected]
>; 2019 Jean-Michaël Celerier <
[email protected]
>; 2019 Nikolai Kosjar <
[email protected]
>; 2020 Lucie Gerard <
[email protected]
>; 2020 The Qt Company Ltd.
debian/copyright
1
#include <QtCore/QList>
2
#include <QtCore/QString>
3
4
struct SomeStruct
5
{
6
QStringList m_list;
7
void test_add_qasconst_fixits()
8
{
9
for (const auto &s : std::as_const(m_list)) {} // Warn
10
}
11
12
QStringList getList();
13
};