Warning, /sdk/clazy/tests/range-loop-detach/main_cpp17.cpp.fixed.expected is written in an unsupported language. File is not indexed.

0001 #include <QtCore/QList>
0002 #include <QtCore/QString>
0003 
0004 struct SomeStruct
0005 {
0006     QStringList m_list;
0007     void test_add_qasconst_fixits()
0008     {
0009          for (const auto &s : std::as_const(m_list)) {} // Warn
0010     }
0011 
0012     QStringList getList();
0013 };