summaryrefslogtreecommitdiff
path: root/src/plugins/todo
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias@openismus.com>2012-08-16 11:01:20 +0200
committerEike Ziller <eike.ziller@nokia.com>2012-08-20 10:08:57 +0200
commit053816c44018f25a657452ea775d286938e128f1 (patch)
treedd43d084d0a81c587deb5e13fd5d9616dc099688 /src/plugins/todo
parent17cf48f54652d2fb9f7c096fe2ce716af22d5adb (diff)
downloadqt-creator-053816c44018f25a657452ea775d286938e128f1.tar.gz
Permit TODO comments in Google C++ style
Google's C++ Code Guide requires the author's username in TODO comments: // TODO(hasselmm): Fix this mess Change-Id: Ic003c7a1bf22e43a0882284f07017fb25d031c21 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/todo')
-rw-r--r--src/plugins/todo/lineparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/todo/lineparser.cpp b/src/plugins/todo/lineparser.cpp
index 01d7c0f856..b7c15a2c5b 100644
--- a/src/plugins/todo/lineparser.cpp
+++ b/src/plugins/todo/lineparser.cpp
@@ -58,7 +58,8 @@ bool LineParser::isKeywordSeparator(const QChar &ch)
return ch.isSpace()
|| (ch == QLatin1Char(':'))
|| (ch == QLatin1Char('/'))
- || (ch == QLatin1Char('*'));
+ || (ch == QLatin1Char('*'))
+ || (ch == QLatin1Char('('));
}
LineParser::KeywordEntryCandidates LineParser::findKeywordEntryCandidates(const QString &line)