Debian Codegraph @

tests/range-loop-detach/main_cpp17.cpp.fixed.expected

raw
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 };