aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsutils.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2012-11-28 20:44:03 +0200
committerOrgad Shaneh <[email protected]>2012-11-28 20:20:46 +0100
commita44aa55502b1d9f548692e49ab7cea13d341c8ca (patch)
tree77f9fbfd583551839c4448c1b66de7c47dd7afc3 /src/plugins/cvs/cvsutils.cpp
parent3747e941ad79f64e28c78c83a840783eb3edfd6f (diff)
Add whitespace after control keywords
find -name \*.cpp -o -name \*.h | \ xargs sed -Ei 's/ (for|foreach|if|switch|while)\(/ \1 (/g' Change-Id: I9efdff4bf0c8c01a52baaaeb75198483c77b0390 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsutils.cpp')
-rw-r--r--src/plugins/cvs/cvsutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cvs/cvsutils.cpp b/src/plugins/cvs/cvsutils.cpp
index f94da0dddf7..4f660fa0b69 100644
--- a/src/plugins/cvs/cvsutils.cpp
+++ b/src/plugins/cvs/cvsutils.cpp
@@ -50,7 +50,7 @@ QDebug operator<<(QDebug d, const CvsLogEntry &e)
{
QDebug nospace = d.nospace();
nospace << "File: " << e.file << e.revisions.size() << '\n';
- foreach(const CvsRevision &r, e.revisions)
+ foreach (const CvsRevision &r, e.revisions)
nospace << " " << r.revision << ' ' << r.date << ' ' << r.commitId << '\n';
return d;
}
@@ -93,7 +93,7 @@ QList<CvsLogEntry> parseLogEntries(const QString &o,
// Parse using a state enumeration and regular expressions as not to fall for weird
// commit messages in state 'RevisionState'
- foreach(const QString &line, lines) {
+ foreach (const QString &line, lines) {
switch (state) {
case FileState:
if (line.startsWith(workingFilePrefix)) {