diff options
author | Mathias Hasselmann <mathias@openismus.com> | 2012-08-16 11:01:20 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-08-20 10:08:57 +0200 |
commit | 053816c44018f25a657452ea775d286938e128f1 (patch) | |
tree | dd43d084d0a81c587deb5e13fd5d9616dc099688 /src/plugins/todo | |
parent | 17cf48f54652d2fb9f7c096fe2ce716af22d5adb (diff) | |
download | qt-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.cpp | 3 |
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) |