From kde-commits Wed Dec 31 23:07:55 2008 From: Allen Winter Date: Wed, 31 Dec 2008 23:07:55 +0000 To: kde-commits Subject: quality/krazy2/plugins/c++ Message-Id: <1230764875.705491.16876.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123076488827747 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*,/);