[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/krazy2/plugins/c++
From: Eckhart Wörner <ew () ewsoftware ! de>
Date: 2008-10-08 18:50:06
Message-ID: 1223491806.469114.20523.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 869317 by ewoerner:
Add uint32_t to types to exclude from check
M +1 -1 foreach
--- trunk/quality/krazy2/plugins/c++/foreach #869316:869317
@@ -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|unsigned \
int|long|float|double|qreal|unsigned char|char)\s\w+\s*,/); + next if ($line =~ \
m/\(\s*(const\s)?(T|int|uint|uint32_t|unsigned int|long|float|double|qreal|unsigned \
char|char)\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*,/);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic