SVN commit 903968 by winterz: allow QChar iterator M +1 -1 foreach --- trunk/quality/krazy2/plugins/c++/foreach #903967:903968 @@ -86,7 +86,7 @@ if ($line =~ m/(foreach|Q_FOREACH)\s*\(/) { next if ($line =~ m/\(\s*const\s[:\w]+\s*&\s*\w+\s*,/); next if ($line =~ m/\(\s*(const\s)?[:\w]+\s*\*(\s*const\s)?\s*\w+\s*,/); - next if ($line =~ m/\(\s*(const\s)?(T|int|uint|uint32_t|quint64|qint64|unsigned int|GLint|GLuint|long|float|double|qreal|unsigned char|char)\s\w+\s*,/); + next if ($line =~ m/\(\s*(const\s)?(T|int|uint|uint32_t|quint64|qint64|unsigned int|GLint|GLuint|long|float|double|qreal|unsigned char|char|QChar)\s\w+\s*,/); next if ($line =~ m/\(\s*(const\s)?(QList|QLinkedList|QPointer|QVector|QMap|QSet|shared_ptr)\s*<[\s\w\*]+>\s*[&]?\s*[:\w]+\s*,/); next if ($line =~ m/\(\s*(const\s)?[:\w]+(Ptr|Info|Information|Error|Type|Id)\s\w+\s*,/); next if ($line =~ m/\(\s*(::)?(Types)::\w+\s\w+\s*,/);